General discussion
-
CreatorTopic
-
April 13, 2003 at 3:42 am #2306810
moving files between partitions
Lockedby emmanuel-sylva · about 20 years, 11 months ago
What is the recommended proceedure for moving files from one partition to another
Topic is locked -
CreatorTopic
All Comments
-
AuthorReplies
-
-
April 13, 2003 at 3:43 am #3527787
moving files between partitions
by emmanuel-sylva · about 20 years, 11 months ago
In reply to moving files between partitions
p.s. using sun solaris 2.6
-
April 13, 2003 at 1:29 pm #3527729
moving files between partitions
by alveden · about 20 years, 11 months ago
In reply to moving files between partitions
Just a issue a ‘mv’ command.
mv target destination
-
July 24, 2003 at 3:59 pm #3386960
moving files between partitions
by emmanuel-sylva · about 20 years, 8 months ago
In reply to moving files between partitions
The question was auto-closed by TechRepublic
-
-
April 13, 2003 at 6:55 pm #3525569
moving files between partitions
by emmanuel-sylva · about 20 years, 11 months ago
In reply to moving files between partitions
is this in preference to cp command, bearing in mind dynamic links
-
April 25, 2003 at 5:10 am #3456026
moving files between partitions
by ghislain.levesque · about 20 years, 11 months ago
In reply to moving files between partitions
cd fromdir; tar cf – . | (cd todir; tar xfBp -)
or
cp -pr
-
July 24, 2003 at 3:59 pm #3386961
moving files between partitions
by emmanuel-sylva · about 20 years, 8 months ago
In reply to moving files between partitions
The question was auto-closed by TechRepublic
-
-
April 26, 2003 at 5:27 am #3526586
moving files between partitions
by khongphutu · about 20 years, 11 months ago
In reply to moving files between partitions
Hi,
1. If you need to move a lot of data contained in nested subdirectories, then the best way is to tar the entire directory (with all the subdirectories maintained as is) before moving them. When untarred, the directory structure is maintained.
2. If the move is across the network and if the amount of data is large and if the move must be done during work hours then tarring is the best way. If you have a slow network or a busy network, this is a must do, and no longer an otion.
3. Use the verbose option to monitor the progress:
tar -cvf /tmp/./ Be sure the destination directory have enough disk space before tarring (I always use /tmp)
Confucius
-
July 24, 2003 at 3:59 pm #3386962
moving files between partitions
by emmanuel-sylva · about 20 years, 8 months ago
In reply to moving files between partitions
The question was auto-closed by TechRepublic
-
-
April 29, 2003 at 3:22 pm #3521900
moving files between partitions
by paulo.sedrez · about 20 years, 11 months ago
In reply to moving files between partitions
Since old SunOS days, dump and restore are the best option to keep all attributes, including access/modify times, hard AND symbolic links, owner, group and permissions. Nowadays they are called ufsdump and ufsrestore. Try this:
cd to_dir ; ufsdump 0f – from_dir | ufsrestore 0f –
-
July 24, 2003 at 3:59 pm #3386963
moving files between partitions
by emmanuel-sylva · about 20 years, 8 months ago
In reply to moving files between partitions
The question was auto-closed by TechRepublic
-
-
July 24, 2003 at 3:59 pm #3386959
moving files between partitions
by emmanuel-sylva · about 20 years, 8 months ago
In reply to moving files between partitions
This question was auto closed due to inactivity
-
-
AuthorReplies