Jump to content

Combining Share/Creating new parent directory


Recommended Posts

Hey Guys,

 

I want to restructure my share folders, when I started out I had seperate ones for movies/pictures etc and I would like to combine them all under a "data" share and then use subfolders within that.

 

I am struggling to find answers for what the best way to do this would be? I have searched the forums and also googled it. I read someone say it can be done through enabling disk share but I am not sure how exactly.

 

Any help is appreciated!

 

Thanks Guys.

Link to comment

Easiest way would be to create a new "data" share then move previous movies/pictures folders (shares are just top level folders) inside the data folder disk by disk, the move will be instantaneous, you can use for example the Dynamix File Manager plugin Midnight commander (mc on the console), note that when you create a share it will only create the folder in the first available disk, so you'll need to create it (with the same case) for the other ones, not sure if the plugin has an option to create folders, if it doesn't you can do it in the console:


 

mkdir /mnt/disk1/data
mkdir /mnt/disk2/data

etc

 

The plugin moves the data inside the folders, not the folders themselves, mc will move the folders.

Link to comment
6 hours ago, Chewwwy_ said:

I would like to combine them all under a "data" share

Why? Better to have separate shares so you can manage them separately with separate settings.

 

If you want something on the server, such as a container, to have access to all shares, you can just use /mnt/user as the host path.

 

If you want network access to all shares under one folder, Unassigned Devices plugin has a rootshare feature.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...