Hi,
I would use the -mtime option in find to update all the recent
changes:

find foo -type f -mtime -3 | grep -v .svn | cpio -pmuvd <target-dir>
where -3 means changes in the last 3 days.
Regards

On Dec 9, 7:26 am, Olaf Meeuwissen <[email protected]> wrote:
> Peter 'Fish' Fisera <[email protected]> writes:
>
> > hi all.   i've got a "how-do-i" question here...
>
> > [...snip...]
>
> > so the question is... is there any way i can copy in all the new files
> > and yet somehow tell svn to use the version control info already
> > stored in the remote repository for each local directory that's been
> > changed, rather than assuming they are new files?  and that it would
> > somehow regenerate the .svn directory for each?
>
> > or some kind of tool (or sequence of linux commands) that could do a
> > recursive copy from one folder to another, blowing away all files in
> > the target directory structure EXCEPT the .svn folders?
>
> > anyone know how to do this?
>
> From the directory that contains the changed foo directory:
>
>   find foo -type f | sed '/\.svn/d' \
>     | while read name; do cp "$name" target-dir/"$name"; done
>
> where target-dir is the directory in your svn working copy that holds
> foo.  Filenames with spaces will be handled correctly.  Should there be
> any .svn stuff in the changed foo directory, it will be ignored.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
> FSF Associate Member #1962               Help support software freedom
>                  http://www.fsf.org/jf?referrer=1962

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to