Re: Don't Quite Understand TAR and CPIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 26 Sep 2003 23:17:25 -0400, Randy Chrismon wrote:

> I'm wanting to make a tar-ball, or similar, backup of certain files on 
> the Win2K (fat32) partition on my mostly RedHat box. For example, I'd 
> like to backup (create a tar-ball) of the *.doc files on my Win2K 
> partition, mounted at /mnt/win2k. From the documentation, it seems like 
> CPIO is the choice using a find command; e.g.:
> 
> find /mnt/win2k/*.doc | cpio -o ...
> 
> This doesn't seem to work, however, in that the find command doesn't 
> return the path/filename of the *.doc files I'm trying to archive.
> 
> What am I missing here?

The manual for the find command, "man find". ;o)
This would be closer:

find /mnt/win2k -name '*.doc' | cpio -o > archive.cpio

- -- 
Michael, who doesn't reply to top posts and complete quotes anymore.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/dQF60iMVcrivHFQRAtbbAJ0cwT3F49Di0sYdajszpKd/IS9NywCeK9SJ
H8urcFcwmVzB13AIpNX//Ko=
=wwkM
-----END PGP SIGNATURE-----


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux