Page 1 of 1

Moving files from internal to sd card

Posted: 29 Dec 2018 18:41
by den7
Hi, would like some help in moving some image files (jpg). The default folder that Facebook app creates is under 'DCIM' which includes it as part of my automatic photo back up through Google Photos, so I want to have the file moved to my external sd card as soon as the image is saved.

I tried using the following:
Trigger: File Observer - path DCIM/Facebook, event types modify, writable file closed, subfile created
Action: Move Files - source files DCIM/Facebook/*.jpg, target to my external sd card /Pictures/Facebook

Now when I save a photo, the file gets moved, however there is a notification of "Error: could not delete file ..(file name).jpg" "Last executed: Action move files...".

Upon checking my external sd card, it has moved multiple copies of the same file. So I see for example, abc.jpg, abc (1).jpg, abc(2).jpg.

In the log it says:
Error: ch.gridvision.ppam.androidautomagiclib.util.m: Could not create directory '(my sdcard)/Pictures/Facebook/Facebook'

How can I fix? Thank you.

Re: Moving files from internal to sd card

Posted: 30 Dec 2018 14:24
by Desmanto
Do you grant external Sdcard access already to Automagic? Automagic Settings > Features & Permissions > External SD Card Access. Choose the SDcard from the document provider. (you might need to tap 3 dot option > unhide SDcard).

When the Google Photos backup happens? Rather than using Trigger File Observer, it is better to do it in bulk, just several minutes before the google photos backup occur. Or simply exclude this folder from the Google photo backup folder.