Snow Leopard allows users to "Put Back" files that were moved to the Trash from Finder. However, when I do mv
from the command line I don't get the "Put Back" option.
Is there a native command in Snow Leopard that moves a file to the trash while letting me still be able to us "Put Back"?
Answer
When you move a file to the trash OS X updates the .DS_Store
file inside ~/.Trash
with the "Put back" information. (See this question for more details)
In order to update this you would have to also update the .DS_Store
file when you move a file to the Trash in Terminal.
No comments:
Post a Comment