||03-19-2010 02:25 PM
Problems with ftp syncing (issue with untarring)
I'm trying to make a file sync setup. I was getting really bewildered trying to upload files that weren't in the currect directory, so I broke it up like this.
find . -type f -mtime -1 | xargs tar -rf find.tar
Which would make a simple tar of everything recently modified.
ftp -n -v $HOST << EOT
user $USER $PASSWD
This works, except I see no way to untar the files on the server.