02-20-2005
Hi there,
It can be possibile to write a shell script that removes your files to a trash directory, and has an option for emptying the trash, i can write such one.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi!,
is there any way to retrieve a file that I have deleted few minutes back?? I am using Solaris- 5.6..
:rolleyes: (2 Replies)
Discussion started by: jyotipg
2 Replies
2. Solaris
Hi,
Can someone help me out as to how to recover a deleted folder?
the user id which deleted the folder is known, the approx time is known.
Its urgent, plz help (2 Replies)
Discussion started by: aboxilica
2 Replies
3. Shell Programming and Scripting
hi,
if i delete a file from /home/san/abc.cpp in linux/unix
and i want to restore it back
how to do that ? (3 Replies)
Discussion started by: mail2sant
3 Replies
4. AIX
Hi all,
I am still working on my mksysb restore.
My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored.
0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any
available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
We have a file which needs supper user previleges to delete. There are 10 users having super user preveleges. Some times back that file got deleted. How to know who has deleted that file? (6 Replies)
Discussion started by: siba.s.nayak
6 Replies
6. Shell Programming and Scripting
Hello,
When I am deleleting some file that time I am moving that file to backup
directory and when I say restore then its showing me the backupdirectory
path and file with index..Ex..if i delete 3 files then restore will shoe me:
:0:/backup/somedeletedfile
:1:/backup/somedeletedfile10... (2 Replies)
Discussion started by: AbhijitIT
2 Replies
7. Shell Programming and Scripting
I accidently deleted the files from linux machine. How to restore back the files. (1 Reply)
Discussion started by: sandy1028
1 Replies
8. UNIX for Dummies Questions & Answers
I attempted to delete a swap file (rm .<filename>.swp).
Now the system is trying to delete one file that doesn't exist anymore and the file is adding a number in increments to the name of the file it is attempting to delete (filename1.csv, filename2.csv)
The log says the filename1.csv does... (0 Replies)
Discussion started by: student21
0 Replies
9. Solaris
Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies
10. Emergency UNIX and Linux Support
Hi
I recently deleted my /etc but I had a backup on tape. I was able to boot the server with a cd-rom and mounted the /c1t0d0s0 which is where the root directory resides. However when I tried to restore the backup with tar xvf /dev/rmt/0n I wasn't successful even though I was able to use the tar... (2 Replies)
Discussion started by: rahmantanko
2 Replies
LEARN ABOUT DEBIAN
restore-trash
RESTORE-TRASH(1) General Commands Manual RESTORE-TRASH(1)
NAME
restore-trash - Restore for Command line trash utility.
SYNOPSIS
restore-trash
DESCRIPTION
Use for restore a trashed file or directory, in the original path. This command is a part of trash-cli package that provides a command
line interface trashcan utility compliant with the FreeDesktop.org Trash Specification. It remembers the name, original path, deletion
date, and permissions of each trashed file.
EXAMPLES
$ restore-trash
0 2007-08-30 12:36:00 /home/andrea/foo
1 2007-08-30 12:39:41 /home/andrea/bar
2 2007-08-30 12:39:41 /home/andrea/bar2
3 2007-08-30 12:39:41 /home/andrea/foo2
4 2007-08-30 12:39:41 /home/andrea/foo
What file to restore [0..4]: 4
$ ls foo
foo
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-list(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.
RESTORE-TRASH(1)