Backup flow - need help
Moderator: Martin
Re: Backup flow - need help
Sorry, I did not check. It seems like the -n option was added in Android 6.0. It's not available on 5.0 and 5.1.1.
Re: Backup flow - need help
So at the moment there would be no way to start a copy job via automagic that does not overwrite the target files?
Re: Backup flow - need help
You could write a flow that loops over the list of files one by one and checks whether the file exists in the target location and skips it, however it could become slow when you want to copy many files. You would likely have to increase the emergency stop count in the flow options for such a flow.
Re: Backup flow - need help
I think I´ll just wait and see if it´ll be implemented in automagic one day 
It´s not like it doesn´t work, it would have just made the backup faster when using it more than once.

It´s not like it doesn´t work, it would have just made the backup faster when using it more than once.
Re: Backup flow - need help
Instead of creating my own topic, I'll just hijack this as my problem is related.
I have never managed to get the loops working in a script so I'd be grateful if you could give a simple example script with detailed explanations.
File_list1: SD/test1/1,.../2,.../3,.../4
File_list2 contains files 1 and 3 already.
How can I compare the lists and remove the entries in the list2 from the list1? This is to prevent backuping the already present files. In this case, only 2 and 4. I somewhat know, how to use regexp to extract the file names, but if there's more universal way to do it, I'll gladly hear it too.
I have never managed to get the loops working in a script so I'd be grateful if you could give a simple example script with detailed explanations.
File_list1: SD/test1/1,.../2,.../3,.../4
File_list2 contains files 1 and 3 already.
How can I compare the lists and remove the entries in the list2 from the list1? This is to prevent backuping the already present files. In this case, only 2 and 4. I somewhat know, how to use regexp to extract the file names, but if there's more universal way to do it, I'll gladly hear it too.
Re: Backup flow - need help
You can remove the elements contained in one list from another list by writing a loop and calling removeElementValue(list, elementToRemove) for each element or you can use removeAllElementValues:
list1 will only contain values 2 and 4 when the script is executed.
Code: Select all
list1=newList(1, 2, 3, 4);
list2=newList(1, 3);
removeAllElementValues(list1, list2);