LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-12-2005, 04:26 AM   #1
codepoet
LQ Newbie
 
Registered: May 2005
Posts: 14

Rep: Reputation: 0
copy files and folders


Hi
I'm running dam small linux off a cd. I have 2 hdd and I want to copy the contents off one hard drive to another. Can anyone guide me ?
Thanks in advance.
 
Old 06-12-2005, 04:50 AM   #2
doctor_sniff
LQ Newbie
 
Registered: Aug 2003
Location: Iran
Distribution: GNU Linux
Posts: 24

Rep: Reputation: 15
use this command:
cp -dfr SOURCE DESTINATION
 
Old 06-12-2005, 02:08 PM   #3
codepoet
LQ Newbie
 
Registered: May 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Ok so (cp -dfr SOURCE DESTINATION) Source would be the drive name like hdd0? Would this be the right syntax (cp -drf hdd0 hdd1)?
Will this command overwrite any files on the target drive?
Thanks

Last edited by codepoet; 06-12-2005 at 02:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
useing SCP to copy entire directories with sub folders? Lleb_KCir Linux - General 5 09-13-2005 09:08 PM
Copy folders codepoet Linux - Newbie 4 05-12-2005 01:59 AM
How many files and folders do you got? BBB General 1 12-29-2004 02:24 AM
Mac Clients get error when copy folders to Fedora RC1 with ATALK jshelton Linux - Networking 4 05-28-2004 08:01 AM
how to copy files/folders??? Gallienus Linux - General 4 12-15-2003 12:02 PM


All times are GMT -5. The time now is 01:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration