Joulinar wrote: ↑Tue Mar 16, 2021 11:23 pm
yes I noticed the same. I will contact developer depending on my test this night
I just added an edit to previous post:
EDIT: to clarify - the sync will proceed on pressing Enter for all permutations of of Sync: Continue with sync (either <Ok> or <Cancel>) or Cancel : Abort sync, no changes will be made (either <Ok> or <Cancel>).
I still do not know if I have done this correctly so have not been able to check if this would work (i.e. to check it would bypass the blocking behaviour we just found).
Was I correct in creating a file with the single line /boot/dietpi/dietpi-sync 1 in it, in directory /etc/cron.minutely. Or was I supposed to do something with crontab -e (which I would have no idea what to do with!)?
I really appreciate your support and guidance so far, thank you.
I've got it working! I copied the file /etc/cron.daily/dietpi into /etc/cron.minutely, renamed it (to avoid confusion) and made it executable. The minutely sync now works. Apologies if this is what you meant in your first post of the thread.
Only problem is that (only now do) I see that it doesn't quite do what I want! When I remove files from the destination folder (i.e. move them to where I want them) they reappear with the next sync, which is to be expected (ain't hindsight wonderful!) Now, if only I could tell it only to to sync stuff that is less than a minute old!
Just to report in that I'm getting closer to my goal.
I started looking at the Qbittorrent "Run external programme on completion" box as suggested in an early post. Putting cp -r "%F" "/mnt/NFS_path" in the box successfully copies the just completed files with their path to where i want them. However, the copied files have permissions that stop them being moved/deleted in my Windows File Explorer. Back in dietpi terminal, running the command chmod 777 -R "/mnt/NASSY_NFS_Video/aqBittorrentdone" fixes this. However, I do not know how to combine the two commands so they can both run automatically. I have read that a script is required but so far my attempts have failed. I'll keep grinding away...