Search Results

Search: Posts Made By: treds
1,069
Posted By Don Cragun
I think: #!/bin/bash cd...
I think:
#!/bin/bash
cd /gpfs/TIER2/TAG_PRIMARY_ARCHIVE
( du -sh; echo "Exit status was: $?" ) |
mail -s "Archive Check finished" xxxxx@tagworldwide.com
is closer to what treds requested.
4,091
Posted By Chubler_XL
In the simplest case just call mail once rsync is...
In the simplest case just call mail once rsync is finished:

#!/bin/bash

if [ -e /raid/.synclock ]
then

rsync -aWv --stats --progress --ignore-errors --exclude '._*' --exclude '.HS*'...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy