Reply
Occasional Advisor
moomina
Posts: 12
Registered: ‎09-16-2012
0

Moving files from one share to another share...

Is there a way in the dashboard to move data from one share into another?  If not, what is the quickest way of doing this?

 

I am mapping my MBLD permanenty to my computer desktop, so it will be backed up ongoing with CrashPlan.  No problem setting that up.  But... being fairly new to all this, I didn't realize that when you map any NAS... you don't map the drive... you map the shares (folders) which appear as an ejectable drive on your desktop.  

 

Originally, thinking "shares" were like folders, I created 8 share folders instead of ONE folder, inside which all my other folders would exist.  DUH... now I need to move all the data in the 8 folders into ONE share.  I thought this would be quick, since I'm moving data that is already on the drive into another place.  But no... I just tried it... and it seems like it will take forever.

 

 

Advisor
MKranjc
Posts: 18
Registered: ‎09-14-2012
0

Re: Moving files from one share to another share...

SSH to MBLD and move folders from a command line on the drive itself. 

Once you are in the command line of the MBLD you can also install Midnight commander and do file manipulations with it.

 

Form the command line on the MBLD you can install MC with:

apt-get install mc

 

 

____________________
1x My Book Live Duo - 4 TB
2x WD TV Live Hub Media Center (one works better without the Power button...) - 2x1 TB
1x My Book Essential Edition 2.0 - 1 TB
3x My Book Essential Edition - 0,5 TB
1x WD TV HD Media Player
Honored Contributor
Myron
Posts: 1,486
Registered: ‎05-01-2011
0

Re: Moving files from one share to another share...

[ Edited ]

I'm a bit cagey about installing stuff on the MBLD in case it gets bricked, messes up the MBLD's ability to take update and/or messes up any other services on the MBLD.

 

Exactly how safe is is to install Midnight commander.

 

I'm asking because some people don't care if their NASs will not be able to take updates.  I do wish mine to be able to take updates.

Advisor
MKranjc
Posts: 18
Registered: ‎09-14-2012
0

Re: Moving files from one share to another share...

After the update you will have to install MC again, that is all. It will not change the way the MBLD update.

However you can move files around via shell commands like mv if you do not want to install anything on the drive.

http://linux.about.com/library/cmd/blcmdl1_mv.htm

 

If you will have issues with ownership of the files after you move them to another share you can also change the permissions and/or owner (chmod/chown).

____________________
1x My Book Live Duo - 4 TB
2x WD TV Live Hub Media Center (one works better without the Power button...) - 2x1 TB
1x My Book Essential Edition 2.0 - 1 TB
3x My Book Essential Edition - 0,5 TB
1x WD TV HD Media Player
Frequent Advisor
xiownthisplacex
Posts: 28
Registered: ‎10-27-2012
0

Re: Moving files from one share to another share...

The only problem that you could run into installing stuff via ssh is if you fill up the rootfs. Other than that, you can always update firmware no matter what and you won't lose functions.

Honored Contributor
Myron
Posts: 1,486
Registered: ‎05-01-2011

Re: Moving files from one share to another share...

There is another way to move files between shares on the MBLD without tne need for messing with Linux.  I added the following to the Samba configuraton . . .

 

[__NAS_all_shares]
  path = /shares
  comment =
  browseable = no
  invalid users =
  valid users = admin
  read list =
  write list = admin
  map read only = no

Once done (no reboot required) then the MBLD owner user can access the single Samba share \\MyBookLiveDuo\__NAS_all_shares has access to all the shares as directories/folders. Whe you move stuff between folders and directories Samba simple moves the files and folders internally and does not copy data to the PC to then copy it back.

 

It's only a configuraton change. No need to isnstal anything on the MBLD.

Honored Contributor
Myron
Posts: 1,486
Registered: ‎05-01-2011
0

Re: Moving files from one share to another share...

Good point. If there is too little free space on the rootfd then any WD updates will fail.

 


xiownthisplacex wrote:

The only problem that you could run into installing stuff via ssh is if you fill up the rootfs. Other than that, you can always update firmware no matter what and you won't lose functions.




Frequent Advisor
xiownthisplacex
Posts: 28
Registered: ‎10-27-2012
0

Re: Moving files from one share to another share...

You could also install Total Commander for Windows for easy switching between drives and folders on the NAS or even your pc drives. That way you don't have to mess with Samba or Linux commands in ssh.

Honored Contributor
Myron
Posts: 1,486
Registered: ‎05-01-2011
0

Re: Moving files from one share to another share...

With the additional hiddeen share (does not have to be hidden) there is no need to install any additional file managers. The relocation of file system objectd within the MBLD are handled internally in the MBLD. The computer only has to tell the MBLD where to relocate files and folders and Samba just does it.

 

From my own experience it's the most convenient way of performing this task.  For me more so when I wish to move a few gigabytes of files from one share to another.

Occasional Advisor
moomina
Posts: 12
Registered: ‎09-16-2012
0

Re: Moving files from one share to another share...

[ Edited ]

Hi, thanks for the suggestion MKranjc.  I don't understand what you are describing at all unfortunately, or any of the responses afterwards.  I was just asking if there is a simple and quick way to move files from a Share... into a folder within a Share.  Other than drag and drop, which is very slow, and I'm getting all kinds of errors that never popped up when I copied the original data (file names too long, etc)

Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2014 Western Digital Technologies, Inc. All rights reserved. | Trademarks | Privacy | Community Terms of Service | Site Terms of Use | Copyright | Contact WD