On Jun 22, 2010, at 12:09 PM, Malcolm Greene wrote:

> I know there's several rsync users on this forum. Do any of you
> have any experience or thoughts on the following usage scenario:
> 
> ~1000 user specific folders containing a random mix of files
> - want to sync files with specific extensions ignoring other
> files

        You could use either --include=PATTERN or --include-from=FILE to limit 
the files that rsync will consider. If you have more than 1 or 2 extensions, 
puth them in a file and use the second version.

> - want to move (transfer then delete) files with a specific
> extension

        Use the --remove-source-files option.

> Would rsync be appropriate for this scenario or would a server
> side script be a better option?


        Use rsync. The time spent learning the ins and outs of the tool (the 
man page for rsync is priceless) will be much, much less than what you would 
spend writing something to replace it.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to