[Techtalk] conceptual CVS

Emma Jane Hogbin emmajane at xtrinsic.com
Sat Jul 19 00:43:00 EST 2003


On Fri, Jul 18, 2003 at 08:07:49AM -0400, Travis Casey wrote:
> Something that I've done in the past is to use find's ability to find files 
> newer than a specified file, along with GNU tar's ability to take the list 
> of files to archive from a file.  For example, a script like this could be 
> used:

This would be great if I could get it to work. :/ I type the full command
in and it simply hangs. It doesn't create the tar file and as far as I can
tell does not connect to the remote server.

Here's what I did:
emmajane at debian:/web/lms/cell/php$ ll -tr
<snip>
-rwxr-xr-x    1 emmajane emmajane      78k Jul 17 22:23 Quiz.php
-rwxr-xr-x    1 emmajane emmajane     2.3k Jul 18 16:10 actions.php
-rwxr-xr-x    1 emmajane emmajane      26k Jul 18 17:04 Forum.php
-rwxr-xr-x    1 emmajane emmajane     7.1k Jul 18 17:35 Form.php
-rw-r--r--    1 emmajane emmajane      45k Jul 18 20:58 Calendar.php
-rwxr-xr-x    1 emmajane emmajane      19k Jul 18 21:03 Category.php
-rw-r--r--    1 emmajane emmajane       76 Jul 19 00:37 copy
emmajane at debian:/web/lms/cell/php$ find . -newer Quiz.php > copy
emmajane at debian:/web/lms/cell/php$ tar -cf - -T copy | \ 
	ssh cell at megatron.utm.utoronto.ca "cd public_html/php ; tar -xpf -"

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


More information about the Techtalk mailing list