![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting a list of files on an ftp, via shell script... | Elric of Grans | Shell Programming and Scripting | 1 | 01-13-2009 06:10 AM |
| Pulling a list of files from FTP site in a shell script | spatra | Shell Programming and Scripting | 0 | 08-28-2008 08:03 AM |
| Create a list of files that were modified after a given date. | rkka | UNIX for Dummies Questions & Answers | 4 | 01-22-2008 05:12 AM |
| korn shell + sftp + list files | alienET | Shell Programming and Scripting | 1 | 03-24-2005 11:12 AM |
| How To create Flat Files using Unix Shell Script? | Aparna_k82 | Shell Programming and Scripting | 4 | 02-10-2005 05:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Shell Script Create List of Deleted Files
Hi,
I want to put all the deleted files in a txt file. Because i want to backup my image server which has thousands of jpg images. I wrote a shell script which will copies images from image server to backup image server. I setup a cronjob which runs on every five minutes. & through timestamp it tooks last five minutes jpg images and copies to Backup Image Server. Now the problem is that when any image (jpg) deleted from Original Image Server how can i took this to also delete that image from Backup Image Server. So, in order to meet that i believe i will put all the deleted jpg names (file names) into a text file and use that file to delete images from Backup image server. So, can any one please let me know the commands how can i put deleted *.jpg files into text file so i can this on Backup image server to delete images. Or let me know any other solution ? Regards, Muhammad Irfan |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|