Advertisement
Guest User

Untitled

a guest
Jun 9th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. function syncRackspaceSwf {
  2.   DRYRUN=false
  3.   HOST="blah"
  4.   USER="blah"
  5.   PASS="blah"
  6.   LCD="blah"
  7.   RCD="blah"
  8.   lftp -c "set ftp:list-options -a;
  9.  open ftp://$USER:$PASS@$HOST;
  10.  lcd $LCD;
  11.  cd $RCD;
  12.  mirror \
  13.         --verbose=3 \
  14.         --dry-run \
  15.         --reverse \
  16.         --dereference \
  17.         --only-newer \
  18.         --delete \
  19.         --exclude .svn \
  20.         --log=/resources/scripts/staging_sync_syncRackspaceSwf.log"
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement