trash-list(1) General Commands Manual trash-list(1)NAME
trash-list - List trashed files.
SYNOPSIS
trash-list [OPTIONS]... [PATH]...
DESCRIPTION
List all the contents of the trashcan.
EXAMPLES
List all trashed files or grep output:
$ trash-list
2008-06-23 21:57:26 /home/andrea/src/bluetrash/pippo
2008-06-23 21:50:41 /home/andrea/foobar
2008-06-23 21:50:49 /home/andrea/foobar
2008-06-23 21:53:13 /media/disk/adsfljasldj
$ trash-list | grep foo
2008-06-23 21:50:41 /home/andrea/foobar
2008-06-23 21:50:49 /home/andrea/foobar
BUGS
Report bugs to http://code.google.com/p/trash-cli/issues
AUTHORS
Trash was written by Andrea Francia <andreafrancia@users.sourceforge.net> and Einar Orn Olason <eoo@hi.is>. This manual page was written
by Steve Stalcup <vorian@ubuntu.com>. Changes made by Massimo Cavalleri <submax@tiscalinet.it>.
SEE ALSO trash-put(1), trash-restore(1), trash-empty(1), and the FreeDesktop.org Trash Specification at http://www.ramendik.ru/docs/trashspec.html.
Both are released under the GNU General Public License, version 2 or later.
trash-list(1)
Check Out this Related Man Page
GVFS-TRASH(1) User Commands GVFS-TRASH(1)NAME
gvfs-trash - Move files or directories to the trash
SYNOPSIS
gvfs-trash [OPTION...] [LOCATION...]
DESCRIPTION
gvfs-trash sends files or directories to the "Trashcan". This can be a different folder depending on where the file is located, and not all
file systems support this concept. In the common case that the file lives inside a users home directory, the trash folder is
$XDG_DATA_HOME/Trash.
Note that moving files to the trash does not free up space on the file system until the "Trashcan" is emptied. If you are interested in
deleting a file irreversibly, see gvfs-rm.
Inspecting and emptying the "Trashcan" is normally supported by graphical file managers such as nautilus, but you can also see the trash
with the command gvfs-ls trash://.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
-f, --force
Ignore nonexistent and non-deletable files.
--empty
Empty the trash.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO ls(1), gvfs-rm(1), Desktop Trash Can specification[1]
NOTES
1. Desktop Trash Can specification
http://freedesktop.org/wiki/Specifications/trash-spec
gvfsGVFS-TRASH(1)
I've got a small script that deletes all the trash from mailusers Trash directory. I run this script once in a while to make some space. (We have lots of IMAP users, who keep their mail on server!) Occansionaly, the users create directories with space in the name (e.g. "My Mail"). And sometimes... (5 Replies)
I need to know how I would be able to clean out the trash can of a single "dumb" user every time the MAC is turned on.
Back ground.
OS 10.3x
G3 Mac
Two users configured...
1) Root or Admin (superuser)
2) student (Simple no access to anything but shared folder for files etc.)
The problem... (4 Replies)
how to grep this date format
2008-01-10
2008-01-05
2008-01-02
i wrote the format as
date +"%Y-%m-%d"
but this format is showing me the current date i,e 2008-01-11....i dnt want current date i want the previous date.
so plz any1 help me in giving me the date format for grepping... (5 Replies)
Hi All,
using the below grep command,I get the following output:
$grep -irl "bc" /home/applmgr/amit > file_list.log
$cat file_list.log
/home/applmgr/amit/xyz.log
/home/applmgr/amit/abc.log
Requirement
=========
Need sed utility to replace "bc" with "xy" pattern in the list of files... (4 Replies)
Hi List is
000|2008-07-17|556543|RTJ|35-RTGJ|EYT
465|2008-11-10|567789|GHJ|45-DGHH|ETU
533|2008-09-06|567789|GHJ|45-DGHH|ETU
How does it do it?
sort -t ':' +0 -1 -n +1 -2 +2 -3 -o list list (6 Replies)
Hi I'm new to Linux, and I'm trying to write a shell script where I remove a specific file (i.e file1 or file1.txt), but i don't actually remove it, i move it to a directory called 'trash' - in vi I created a file with the path /usr/bin/del and in it I have:
mv $file /home/trash, but I'm getting... (24 Replies)
how can i list all files in my home directory that have a 4 digit id number, the line number where the id is located and the id itself not printing the entire line? (5 Replies)
I have a file format like this:
pippo
caio
sempronio
I put the <br> after foo and Dick
I tried sed 's/$/<br>/g'
but put on all end of line:
cat prova.txt|sed 's/$/<br>/g'
pippo<br>
caio<br>
sempronio<br>
I would rather have:
pippo<br>
caio<br>
sempronio (5 Replies)
How could I go about creating some trash files to use for testing. All I need is for files to exist and the data in them really doesn't matter.
I need to do some work and testing with scripts and I don't want to mess with real data in my testing.
So I would like to generate say 10,000 files... (10 Replies)
Hi, I am trying to make a command to delete my files out the trash can, but one at a time.
I am currently using rm - i to do this, but the original file locations for restoring my files are heard on a .txt file which I am using as an index table.
How would I manage to make it so that if I... (21 Replies)
My first post :)
I deleted all the files within /system/library/startupitems to the trash bin. Now my mac snow leopard won't boot at all. All I got is the gray screen, apple logo and the spinning wheel...just spinning forever. I was able to boot in single-user mode. I'm trying to copy cp command... (14 Replies)
Hey,
weird story, dunno if this is actually possible, but here's what happened: My dad's PC (Windows) is completely full of trash, the hard drive is completely full. After the last Windows update he wasn't able to boot anymore, even from a WindowsCD it didn't seem to work. That's at least what... (7 Replies)
Hello forum members,
I hope you can help me with this I don't know hot to reach.
I have a list of files in "/home/MyPath1/" and in "/home/MyPath2/". The files have the same name in both folders.
(but different content, the content doesn't matter here I think)
/home/MyPath1/
filename1.txt... (4 Replies)
I use a Mac running OSX El Capitan = UNIX user the hood. After rearranging files on an external hard drive, I ended up with a folder in the trash containing a file called "~INITPicker 2.0". I cannot empty the trash, and so delete the file. I even tried terminal, using the rm file command and... (38 Replies)