Copy files from disk to folders automatically when mounting

7 posts

Marcus
3 Aug

In the Create Folders feature: It would be nice to be able to copy files from (Hard)-Disk to these folders automatically when mounting.

Something like this to copy all files from C:\RAM-Disk\Copy_Temp to R:\Documents (R: is RAM FS)

<folders>
    <name>Documents</name>
    <files>
        <Source>C:\RAM-Disk\Copy_Temp\*.*</Source>
    </files>
</folders>

This is smarter than creating an Image file with these files.

daemon Guest
3 Aug

You could always create a batch (.bat) file with a short delay (to account for when the RAM drive mounts) to copy the files upon Windows boot up.

Marcus
3 Aug

I don't like batch files and delays ...

Andrew SoftPerfect
4 Aug

That's something we may consider for a future release if there's enough demand.

It would need to work both ways to be truly useful: files copied from the source folder at mount, and changed files copied back at dismount or shutdown. One-way copying is the easy half, but it also means anything you create or edit on the RAM volume is lost on reboot, which is rarely what people want.

Worth noting that you can get most of this today: create the volume with an image file and enable auto-save. The image loads at mount and is saved at shutdown or dismount, optionally at intervals too, and saves are differential - only the parts that changed are written, so a large file that changed slightly doesn't cost a full rewrite. That's faster and gentler on SSDs than a full copy.

The genuine advantage of the folder-based approach is that the source stays as ordinary files you can browse, edit and back up while the volume isn't mounted, rather than being sealed inside an image. That's a fair point in its favour, and it's the part we'd be looking at - thanks for the suggestion!

daemon Guest
4 Aug

Marcus wrote:
I don't like batch files and delays ...

It's a solid solution to your problem. Stop being so picky :-D

Andrew SoftPerfect
4 Aug

The batch+delay solution is indeed good in that it is simple and readily available. But as it only works one way, we'll look into a two-way folder sync - that will be the best solution. 😉

Marcus
4 Aug

Excellent!

Reply
Shown with your post. Sign in to keep the same name every time.
(optional, never shown)
Only needed if you want notifications about replies.
Drag files here, paste a screenshot, or . Images up to 10 MB. Text, log and zip files up to 2 MB. Up to 5 files per post.
You can edit your post until someone replies.