Hello,
I’m trying to craft a rule to organize photos when the Android app syncs them from the Camera.
Photos are uploaded to a root folder called InstantUpload. I’d like to move photos into another root folder called Photos.
The following rule fails:
^(.*)$:../Photos/{photoDateTime|Y}/{photoDateTime|m}/{photoDateTime|d}/$0
with the following error:
NotPermittedException Invalid path "/.."
Is there a way to move files under different a top level directory?
Thanks
Andrea.
You can do this with user-wide rules. Look at GitHub - powerflo/files_autorename: Nextcloud app to automatically rename and move files based on configurable rules
Put a .rename.user.conf with this content in the root of your user folder:
^InstantUpload/(.*)$:Photos/{photoDateTime|Y}/{photoDateTime|m}/{photoDateTime|d}/$1
But it will be easier, to configure the folder “Photos” in the settings of the Android app.
“Three bars”-menu - Settings - Automatic Upload - “Three dots” next to the folder to be uploaded from - Configure - Change “Remote Folder” - select “Photos”
Thanks @powerflo ,
you’re right, I should have read more carefully the README.
Andrea
@Mornsgrans indeed this seems to be a cleaner approach. I’ll experiment a bit with this setting.
Thanks,
Andrea
system
Closed
December 20, 2025, 5:23pm
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.