|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Restore File To Its Location from where it was deleted
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:/backup/somedeletedfile20 My concern is if someone will say restore 1...then i want to restore somedeletedfile20 to its original location i.e. the location from where it is deleted Can Nyone please help me. |
| Sponsored Links | ||
|
|
|
#2
|
||||
|
||||
|
The old path of the file should be stored somewhere in a file, else, how could you retrieve the original location?
|
|
#3
|
|||
|
|||
|
I also think so...U r Right...I think there is no other way to do it.
![]() |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Put one string from one location to another location in a file | jimmy_y | Shell Programming and Scripting | 1 | 11-24-2009 12:08 PM |
| how to restore the deleted files | mail2sant | Shell Programming and Scripting | 3 | 05-14-2008 06:32 AM |
| restore deleted folder | aboxilica | Solaris | 2 | 02-21-2008 01:12 AM |
| restore deleted files ??? | varungupta | UNIX for Advanced & Expert Users | 10 | 02-12-2008 05:04 PM |
| how can i restore a deleted file | wojtyla | Linux | 2 | 02-20-2005 03:50 PM |