pjmakey2

Untitled

Sep 20th, 2021
1,105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo date > /root/investigaciondemercado.txt
  2. for FILE in $(ls -r /mnt/home/ciess/homes/investigaciondemercado/Maildir/cur/);
  3. do
  4.     if [ -f "/root/home/ciess/homes/investigaciondemercado/cur/${FILE}" ]; then
  5.         continue
  6.     else
  7.         rsync -avvzHPS /mnt/home/ciess/homes/investigaciondemercado/Maildir/cur/${FILE} /root/home/ciess/homes/investigaciondemercado/cur/
  8.         echo date >> /root/investigaciondemercado.txt
  9.         sleep 1
  10.      fi
  11. done
  12.  
  13.  
  14. echo date > /root/informatica.txt
  15. for FILE in $(ls -r /mnt/home/ms/homes/informatica/Maildir/cur/);
  16. do
  17.     if [ -f "/root/home/ms/homes/informatica/Maildir/cur/${FILE}" ]; then
  18.         continue
  19.     else
  20.         rsync -avvzHPS /mnt/home/ms/homes/informatica/Maildir/cur/${FILE} /root/home/ms/homes/informatica/Maildir/cur/
  21.         echo date >> /root/informatica.txt
  22.         sleep 0.9
  23.      fi
  24. done
  25.  
  26. echo date > /root/mediaexecutive.txt
  27. for FILE in $(ls -r /mnt/home/ms/homes/mediaexecutive/Maildir/cur/);
  28. do
  29.     if [ -f "/root/home/ms/homes/mediaexecutive/Maildir/cur/${FILE}" ]; then
  30.         continue
  31.     else
  32.         rsync -avvzHPS /mnt/home/ms/homes/mediaexecutive/Maildir/cur/${FILE} /root/home/ms/homes/mediaexecutive/Maildir/cur/
  33.         echo date >> /root/mediaexecutive.txt
  34.         sleep 0.9
  35.      fi
  36. done
  37.  
RAW Paste Data