What's wrong with this command?

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: David P. Schwartz
Date:  
Sujet: What's wrong with this command?
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