cp?

Juraj Lutter freebsd-users-l at wilbury.sk
Tue Nov 15 23:58:35 CET 2005


Ivo Hazmuk wrote:
> fox: # cd dstdir
> fox: # (cd /srcdir && pax -w .)|pax -rv -pe

pripadne:

# cd /src/dir
# find . -depth | cpio -pdm /dest/dir

alebo:

# cd /src/dir
# tar cpf - . | (cd /dst/dir ; tar xpf -)

alebo uplne jednoducho, aj ked asi najmenej spolahlivo:

# cp -pR /src/dir/ /dst/dir

tu si treba vsimnut lomitko za source dir.

otis

-- 
Juraj Lutter                          |  /\  ASCII Ribbon Campaign
otis (at) wilbury.sk                  |  \/  - NO HTML/RTF in e-mail
http://www.wilbury.sk/                |  /\  - NO Word docs in e-mail



More information about the Users-l mailing list