trash -- move files/folders to the trash
- trash
-
[-vlesyF] file ...
trash moves the specified files and/or folders to the system trash.
The options are as follows:
- -v
-
Be verbose when moving items to the trash, showing them as they are moved.
- -F
-
Ask Finder to move the files to the trash, instead of using the system API. This is slower, but it utilizes Finder's UI (e.g. sounds) and ensures that the "put back" feature works.
- -l
-
List items currently in the trash. If this argument is used, no files need to be specified.
- -e
-
Empty the trash. trash asks for confirmation before executing this action. If this argument is used, no files need to be specified.
- -s
-
Securely empty the trash. trash asks for confirmation before executing this action. If this argument is used, no files need to be specified.
- -y
-
Skips the confirmation prompt for -e and -s. CAUTION: Deletes permanently instantly.
rm(1)
This man page has been written by Ali Rantakari (http://hasseg.org)