Instead of writing all of the files to the disk make a tar ball and write that to the disk.
tar zcpvf tarball.tar.gz /sourcedir
joe@actionline.com wrote:The files are not writable on the DVD, so when the DVD is copied to the
> What is the procedure and syntax to 'rsync' all of a specific set of
> directories and files from one computer to another that are on the same
> network?
>
> I have been burning DVDs on one computer and copying those files onto my
> other computer(s), but when I download all those files, the permissions
> are all changed to be non-writeable files and directories.
>
> -r--r--r-- 1 root root 9598 Feb 2 15:18 filenames
> dr-xr-xr-x 5 root root 6144 Feb 2 21:06 directory-names
HD, they remain not writable.
The chmod command has an -R option. Otherwise, normal file name pattern
> Is there some way to globally fix that?
matching applies.
There are examples in the rsync man page. What specifically do you not
> Or would 'rsync' be a better solution?
>
> I've never used 'rsync' and after reading the 'man' pages, I'm still
> confused.
understand?
We can't really give you the command you'd need to use without knowing
more specifics about the set of directories and machines (ip addresses?)
you're dealing with.
There is a -p flag for the cp and scp commands which does this.
> Is there a way to do this to preserve the file dates
You'll need to use rsync for this part.
> and only copy those
> files that are newer (have more recent dates) onto the target system?
--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss