[Techtalk] New to the list...new to linux
Julie
jockgrrl at austin.rr.com
Sat Sep 29 21:02:16 EST 2001
Tianna Thomas wrote:
>
> ACK! I'm a Win NT admin trying to run a unix box for the first time and I'm
> just learning...well...nothing!
>
> All of this command line stuff is giving me a serious headache...any help
> here would be appreciated. Specifically, I need to copy the entire contents
> of one directory into another directory...is there a way to do this all at
> once or do I need to do it file by file? (Now's the time when I miss
> drag-n-drop and copy/paste). Exact commands would be helpful...I'm
> completely lost (and a little nutz by now).
cp -r /directory/where/files/are/now /directory/where/they/go
For example, if you have a slew of files in /home/sue/myfiles
and you want to copy them all to /home/jane/suesfiles you would
run
cp -r /home/sue/myfiles/. /home/jane/suesfiles
"cp" will create the destination ("/home/jane/suesfiles") if it
doesn't exist. The extra "/." on the end of the first directory
name keeps "cp" from putting the files in the wrong place.
--
Julianne Frances Haugh Life is either a daring adventure
jockgrrl at austin.rr.com or nothing at all.
-- Helen Keller
More information about the Techtalk
mailing list