Is it possible to feed the branch paths from stdin to the mount (or mount_unionfs) command, instead of supplying them as arguments or from a file?
cat ~/dirs_with_photos.txt | mount -t unionfs
I don't want to use
/etc/fstab, because ideally I want to automatically generate these txt files dynamically, such as with a cron job:
@weekly find $HOME -type d -iname "*photos*" > ~/dirs_with_photos.txt