![]() |
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 |
| pause() problems | IdleProc | UNIX for Dummies Questions & Answers | 1 | 03-17-2009 06:21 PM |
| Pause for response from the log file | gxdanh | Shell Programming and Scripting | 3 | 10-24-2008 11:52 AM |
| Rsync script in cron from stepping on itself | sunsysadm2003 | Shell Programming and Scripting | 3 | 04-30-2008 11:14 AM |
| pause? where art thou? | 01000101 | High Level Programming | 3 | 05-15-2006 07:42 PM |
| how to pause another process? | daneensign | UNIX for Dummies Questions & Answers | 1 | 02-14-2006 12:27 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Script Pause Until Rsync Is Done Transferring
Alright, I have this script that pulls files from a few locations, process those files, creates a zip file, rsync's it and then removes everything.
The problem that I'm having is that I do not know how large the rsync'ed zip file is going to be. Right now I'm using a sleep command before I remove all the files and directories created, however I'm uncomfortable in leaving it like this. All it would take would be a large file that it needs to rsync and the script would delete the file before it's done being transferred. So, is there a way of having the script check the progress of rsync? If not, how would I go about doing something along these lines? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|