LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-31-2006, 05:00 PM   #1
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Moving directories to new directories

Hi! I currently am having a huge issue of moving multiple directories to a new directory. In my current situation I am trying to move users from my old /home directory to my new /home directory. I tarred the entire /home from the old machine and now extract and get home with all users inside. The problem is I cannot delete the system /home and simply copy the old home over. Is there any way I can copy the user directories inside home into /home.

Ex: ls home

jswan jswarts abriaham dlima

I want to copy these directories to the new /home without copying each and every one individually.

Old 03-31-2006, 05:11 PM   #2
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Did you tried from the console? if you did, do you get any error message?

Old 03-31-2006, 07:14 PM   #3
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Yes I am working from console. I need a solution that will copy multiple directories to a new directory instead of individually copying each user one by one.


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
Moving or copying a directory into multiple directories oadvantage Linux - Newbie 3 03-07-2006 03:47 AM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
An easy way of moving /home and other directories 1kyle SUSE / openSUSE 1 09-23-2005 02:53 AM
moving directories with FTP illiniguy3043 Linux - Software 2 07-08-2004 12:37 AM
Moving directories to their own partitions bxb32001 Debian 7 12-08-2003 06:40 AM

All times are GMT -5. The time now is 05:27 AM.

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