fmuquartet
Programmer
Can some help modify a script that initially initiated on the client as shown below? The idea now, is that I need to run this script on the server for connecting out to the servers, because of new security policies.
Script:
#!/usr/bin/sh
/usr/local/bin/rsync -e ssh -avz --delete --rsync-path=/usr/local/bin/rsync | (cd /some/dir && find server*/log/dir* -mtime -1 -print) --files-from=- /some/dir server:/app/logs/dir
Thanks in advanced,
Script:
#!/usr/bin/sh
/usr/local/bin/rsync -e ssh -avz --delete --rsync-path=/usr/local/bin/rsync | (cd /some/dir && find server*/log/dir* -mtime -1 -print) --files-from=- /some/dir server:/app/logs/dir
Thanks in advanced,