rsync command
CLIFFORD ILKAY
clifford_ilkay at dinamis.com
Thu Nov 27 05:38:46 UTC 2008
Kaushal Shriyan wrote:
> Hi
>
> I have a directory logfiles and inside it it has lots of sub
> directories. Inside it there are lots of .gz, .txt and .sql files
>
> I want only .sql files to be rsynced to the destination host
>
> is there a way to achieve it using rsync utility
man rsync
Read about the --filter, --exclude, and --include parameters. Always use
the --dry-run parameter to test first, particularly if you're doing any
variant of --delete.
--
Regards,
Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3273 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081127/00bd7f85/attachment.bin>
More information about the ubuntu-users
mailing list