What's wrong with this command?

David P. Schwartz plug-discuss@lists.PLUG.phoenix.az.us
Tue, 26 Jun 2001 23:22:22 -0700


Oops, I goofed!  I meant to say:

find . | cpio -pdvm $BACKUP_DIR

I'm not sure what I was thinking...

"David P. Schwartz" wrote:

> I've never cared for tar.  I've had more success using something like this for backups:
>
> cd my_dir
> find . | cpio -pdvf $ROOT_DIR
>
> It replicates the current directory "over there".  It doesn't seem to work well running it from "over there", if you get my drift.
>
> -David Schwartz
>
> "Steven M. Klass" wrote:
>
> > Hey all,
> >
> > I am working on a back-up script.  I'm really into the meat of if right now
> > and I can't figure out how to do something.  Basically my backup script will
> > recreate the directory structure and only tar the files in the directory.  To
> > recreate the directory structure I use
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss