Open gidimiz opened 5 years ago
I have this issue too. I tried with and without trailing slash and I got random results
Thanks for any help!
Don't Know if I'm right but putting a trailing slash at the destination dir and removing at the source I've no more the issue
dropbox-uploader upload /dir/dir/source /destination_container/
give me everytime a /destination_container/source
Im trying to backup my crontabs folder using this command:
/home/pi/dropbox_uploader.sh upload /var/spool/cron/crontabs /crontabs
The first time that I run this, everything is fine and I get a new folder called crontabs under my dropbox apps folder. ( Dropbox > Apps > Backup >crontabs ) The second time that I run this line again without any changes ( as a weekly backup ), the API opens a new folder under the already existing folder, so i get this folder structure now: Dropbox > Apps > Backup > crontabs > crontabs The third time I run the same command I get:Why is it duplicated the folders and how can I prevent this?
Thanks.