Moving files to trash on OS/X via command

by , under mac

I’m not a gui person anymore as i work mostly on terminal on os/x just as in linux. Rather than doing a safe delete as in Linux i prefer to move the files to trash in OS/X and clean up the trash whenever i’ve sometime to kill.

[sourcecode language=”bash”]
mv myfile.file ~/.Trash
[/sourcecode]

Leave a Reply