-   Linux - General (
-   -   Gather all files in one partition/folder (

iskrem 11-21-2004 12:38 PM

Gather all files in one partition/folder
I would like to gather my two partitions:

In one partition or gather alle the files from these partitions in one mount point/folder. Would anyone please give me a hint on how to do that?

I could symlink the files, but I suppose that's not the best solution, as that is very static.

Edit: Elaborated on one mount point/folder

damicatz 11-21-2004 12:56 PM

In the root directory of each partition try :

cp -Rv * .* <Destionation>

Make sure there is a space between the * and the .*

The v (verbose) flag is optional but gives you an indication as to what the command is doing.

iskrem 11-21-2004 01:17 PM

I am sorry, but I want a way to mount all files in one folder, not copy. The paritions is to large to temporarily move them to another partition, to make a bigger one.

iskrem 11-22-2004 03:00 PM

I suppose there is no other way than moving these partitions to a new harddrive and copy them to a new and bigger partition.

michaelk 11-22-2004 04:04 PM

You can not mount multiple partitions together unless you use Logical Volume Management (LVM).

iskrem 11-27-2004 06:13 AM

I read at TLDP that I could use ( fdisk to create/remove paritions using fdisk -n and -d, however those switches doesnt appear in my system/manual. What's the subsitute?

All times are GMT -5. The time now is 01:54 PM.