You are not logged in.

#1 2009-01-08 01:33:04

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

copy command that includes folders [SOLVED]

cp only seems to work for files.

Last edited by Raccoon1400 (2009-01-08 03:23:10)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#2 2009-01-08 01:33:42

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: copy command that includes folders [SOLVED]

Use recursive: cp -R

Offline

#3 2009-01-08 02:10:39

weasel8
Member
Registered: 2008-12-15
Posts: 149

Re: copy command that includes folders [SOLVED]

man cp

Offline

#4 2009-01-08 02:12:39

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: copy command that includes folders [SOLVED]

+1 to weael8.

Whenever having trouble with a command, try man and 'commandhere --help' first.

Offline

#5 2009-01-08 03:22:15

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: copy command that includes folders [SOLVED]

weasel8 wrote:
man cp

right, I should have done that first.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

Board footer

Powered by FluxBB