On Fri, Jun 25, 2010 at 11:45 AM, Brumbaugh, Luke
<[email protected]> wrote:
> That is what I am presently doing but if I could skinny down by getting
> files changed only by that owner, it would greatly reduce size.

  You could do this with the find utility from the Cygwin Unix tools port.

  This would find files I own which were modified between 30 and 60 days ago:

        find -user BSCOTT -a -ctime +30 -a -ctime -60

  Redirect the output to a file.  Then do something to copy from that
list of files.  You could do "FOR /F %i IN (find.out) DO COPY %i
c:\dest", for example, although invoking COPY seriallly is going to be
slow.  Better would be something that can take a list of files.

  Note that find utility from the http://unxutils.sf.net/ and
http://gnuwin32.sf.net/ ports are both broken for this.  The former
always returns "user" for the user ID, and the later always returns
the user ID of the current user.

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to