[oclug]scp to backup?
Michael P. Soulier
msoulier at storm.ca
Sun Nov 10 17:44:09 EST 2002
On 07/11/02 Bob Lockie did speaketh:
> Can I use something to omit executable files?
Sure, combined with find. There's probably a better way than this, but you
should get the idea.
rsync -varz $(find . -type f -perm +111 -printf '--exclude "%f" ') -e ssh
source destination
Mike
--
Michael P. Soulier <msoulier at storm.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to Unix
HTML Email Considered Harmful: http://expita.com/nomime.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20021110/dd5efa5a/attachment.bin
More information about the OCLUG
mailing list