The Computer Oracle

Two commands to move files to trash. What's the difference?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4

--

Chapters
00:00 Two Commands To Move Files To Trash. What'S The Difference?
00:22 Accepted Answer Score 17
00:42 Thank you

--

Full question
https://superuser.com/questions/324128/t...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #ubuntu #commandline

#avk47



ACCEPTED ANSWER

Score 17


gvfs-trash is part of GNOME's Gvfs, while trash-cli is a separate set of tools independent of the desktop environment. Both programs implement the XDG Trash specification and should be compatible with each other. For example, you can trash files with gvfs-trash or GNOME Nautilus, then restore from trash-restore or KDE.