Jun 132013
 

Problema del giorno: Come copiare solamente i file modificati oggi in un server remoto con scp?

Facile, basta eseguire un comando come questo

find /your/file/path -mtime 0 -print | awk '{print "scp "$0" user@hostname:/a/b"}' | sh

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

[+] Zaazu Emoticons Zaazu.com