Mover behavior with 'dotted' top-level directory


Recommended Posts

I created a directory on my cache disk ".temp_storage" because I use unRAID for temporary storage, such as backing up a system before doing work that could lose data.  I used the dotted directory name in order that the mover will not move the data.

 

This morning, I found 10 mover processes running, and the log filling up with "cannot move `./.temp_storage/foo' to `/mnt/user0/./.temp_storage/foo': No such file or directory"

 

Anyone have any better ideas for excluding a directory on the cache drive from being moved?

Link to comment

I use the cache in the same way and I don't like the dotted solution, since I use OS X these files are invisible in the Finder and its a bit of a hack to access them outside of the terminal. I would like to be able to exclude top level folders from the mover in a conf file for example.

Link to comment

I use the cache in the same way and I don't like the dotted solution, since I use OS X these files are invisible in the Finder and its a bit of a hack to access them outside of the terminal. I would like to be able to exclude top level folders from the mover in a conf file for example.

 

Take a look here for modifying the mover script so that you do not have to use a "." in front of the folder.  This way on OS X you will still be able to see it via Finder.

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.