#1
|
|||
|
|||
Status of copy in an "after copy" bash script?
Hi all,
I'm interested in firing off an "after copy" bash shell script that emails whether the copy succeeded or not. I'm familiar with shell scripts, and I can see from the manual how to invoke them after an SD copy is performed. But what isn't clear is how to determine from the shell script whether or not the copy was successful. There are parameters passed to a "before copy" shell script that indicate what copy was performed and where. But I don't see anything about parameters passed to an "after copy" script, like the error from the copy. Maybe the status of the copy is passed in "$?" parameter? Thanks in advance for any suggestions. Best, -- Allen Cronce |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Booting from backup | guruuno | General | 27 | 10-16-2009 11:53 PM |
Error in SD copy over FW between 2 FW drives | Travers2K | General | 1 | 06-04-2007 11:19 AM |
error code=3 ACL issue | vudutu | General | 9 | 12-13-2006 02:32 PM |
BackUp hangs at 3% | JimK | General | 10 | 09-27-2005 09:48 AM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |