Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Simple File Copier


Shibby

Recommended Posts

I wanted the basic ability to copy only new files from NINA's output directory to my NAS as soon as the exposures came in, so that when the obsy shuts down I have the files ready to process on my NAS.

All the file sync applications are too bloated and/or they only have "sync" capability, meaning that if I move a file from the destination folder it keeps getting recreated. You could save directly to the NAS but this is slower and relies on your network connection.

You could achieve this fairly easily with other methods e.g. powershell scripts but I found it easier to just write my own simple app to do it.

On the off-chance anyone else would like it, here it is. It's built for Windows (64bit) as a console app, so you can add it to Startup. The exe is fairly large as it's a self-contained .net6 app. You can configure your mappings in appSettings.json:

image.png.3d46c996aa49a28282621a861c69d46a.png

The delay is useful in case your capture software updates the image after saving (e.g. the headers after a plate solve).   

Shibby.Astro.NewFileCopier.zip

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.