Hi
I'm using macOS
I have 2 folders:
folder A (left side)
folder B (right side)
this is my goal:
I would like to copy all the new files from folder A to B (to perform an update (back-up)
Once that is done I would like to delete the backed up files from folder A (left side) (because these files are enormous)
How to do that?
Another way to describe it is:
To cut new files from folder A (left side)) and paste them to folder B (right side)
that's all.
I checked under custom settings as well but I don't find a combination that do what I'm asking.
Am I missing something?
It is a very simple task I'm sure it is possible with FreeFileSync.... right?
I can see another way to do it:
Run 2 different commands.
command A
copy new files from folder A to B (using update preset)
command B
compare folder A to B and delete all the files in common only from folder A.
Is that possible?
Can I chain the 2 commands?
(after the completion of the first command it will trigger the second one automatically?
thanks a lot
daniele
back-up and delete files from left side
- Posts: 2
- Joined: 8 Apr 2022
- Posts: 2
- Joined: 5 Jul 2021
You can achieve such a functionality if you have some basic knowledge of writing batch script (I guess it's called Automator in MacOS). When you configure your FreeFileSync script, in the Sync Settings, define a command to be run "On Success". Add your Automator script that deletes all files in the folder "A" on success (when all files are copied to folder "B", in your case).
Here is an instruction how you can create such a script in MacOS -
https://www.ik4.es/en/how-to-automatically-delete-files-from-a-folder-on-a-mac/
Once you have created this script, add it as "On success" action to FreeFileSync, as I described above.
Here is an instruction how you can create such a script in MacOS -
https://www.ik4.es/en/how-to-automatically-delete-files-from-a-folder-on-a-mac/
Once you have created this script, add it as "On success" action to FreeFileSync, as I described above.
- Posts: 2
- Joined: 8 Apr 2022
Thanks
While I was looking for a solution I used automator to look at folder A and simply move the files to folder B everytime there is a new file.
I works like a dream so I don't need freefilesync aymore (for this type of task)
Thanks
D
While I was looking for a solution I used automator to look at folder A and simply move the files to folder B everytime there is a new file.
I works like a dream so I don't need freefilesync aymore (for this type of task)
Thanks
D
- Posts: 4056
- Joined: 11 Jun 2019
Also here:
viewtopic.php?t=8781
viewtopic.php?t=8781