OMV-Plugins/openmediavault-greyhole — Issue #4: Remove Samba Shares to the Greyhole Storage
Author: sbocquet
Created: 2012-01-16 20:42:54+00:00
State: open

The example below would be to move the files out of the storage pool directories (/var/hda/drives/*/gh/) and into the movies share (/var/hda/files/movies/):

find /var/hda/files/movies/ -type l -delete
cp -r /var/hda/drives/*/gh/Movies/* /var/hda/files/movies/

Once you're done, make sure all your files are correct in /var/hda/files/movies/, before deleting /var/hda/drives/*/gh/Movies/ :

rm -rf /var/hda/drives/*/gh/Movies/

Have to found a way to do this in batch because of the timeout of OMV GUI.