|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FreeBSD Copy Recursive, Update, Verbose
Hi all,
Im running on FreeBSD, and Im trying to basically run a: cp -ruv however, the -u argument does not work, but --update does. However this: cp --update -rv does NOT work. Im a bit of a *nix newb, so any help you guys can give will be much appreciated. Thanks in advance,
__________________
::::::::::: Nate http://www.alterform.com |
|
#2
|
||||
|
||||
|
man cp
--update does not work, cp is just ignoring it. For proof, type Code:
cp --mynameissamhendersonandilikebeets And note that it won't fail either (except for because you didn't specify a source and destination). Also, the correct option for -r is actually -R. |
|
#3
|
|||
|
|||
|
cp -r ..... a newbe is on work
other use tar, cpio, fsdump, dd .... btw: cp -r DOES NOT RUN on sys prevoious SVR4 so what are you trying to do cp -ruv is r recursive and u unconditionally and v verbose ? cd to the data dir mkdir -p recipient (where you want copy the data), than tar cfb - 126k . | (cd recipient; tar xfvp -) NOTA if u is not unconditionally but update, why are you spending time for that, JUST COPY IT
__________________
working on Solaris[5-9], preferred languages french and C. |
|
#4
|
|||
|
|||
|
Hi,
I am trying to do a recursive update of only newer files. -r -> recursive -u -> update (only available on different flavors of *nix) -v -> verbose |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > FreeBSD Copy Recursive, Update, Verbose |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|