LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-27-2005, 07:21 PM   #1
UnforgotteN
LQ Newbie
 
Registered: May 2005
Posts: 16

Rep: Reputation: 0
quick question


I have all these folders in my linux box, i would like to trasnfer all at once to another path location.

I want to trasnfer a folder that has around 4 folders in it and a lot of files.

How do i transfer a folder from one path to another one?
How do i duplicate a folder and transfer it from one path to another one?

John,
Thanks Alot!
 
Old 05-27-2005, 07:30 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Re: quick question

Quote:
Originally posted by UnforgotteN
I have all these folders in my linux box, i would like to trasnfer all at once to another path location.

I want to trasnfer a folder that has around 4 folders in it and a lot of files.

How do i transfer a folder from one path to another one?
How do i duplicate a folder and transfer it from one path to another one?

John,
Thanks Alot!
Just to move them to another location, use the move command - "mv" without quotes.

Example:
mv /home/yourname/somefolder /home/yourname/oldstuff

To duplicate, use the copy command - "cp" without quotes.

Example:
cp /home/yourname/somefolder /home/yourname/anotherplace.

Change the names to suit your system and naming scheme.
 
Old 05-27-2005, 07:31 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: quick question

How do i transfer a folder from one path to another one?

mv

man mv for more details

How do i duplicate a folder and transfer it from one path to another one?

cp -r

man cp for more details
 
Old 05-27-2005, 07:54 PM   #4
UnforgotteN
LQ Newbie
 
Registered: May 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks alot guys!
 
Old 05-27-2005, 08:09 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Or you can use a "file manager" .
 
Old 05-28-2005, 09:33 AM   #6
UnforgotteN
LQ Newbie
 
Registered: May 2005
Posts: 16

Original Poster
Rep: Reputation: 0
ah nice, thanks
 
  


Reply



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
quick question Squall__99 Mandriva 3 06-01-2005 03:13 PM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
just a quick question awesome_man Linux - Software 1 01-26-2004 01:02 AM
Quick question! nabil Linux - Networking 7 11-07-2002 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration