cjnaz / rclonesync-V2

A Bidirectional Cloud Sync Utility using rclone
MIT License
355 stars 39 forks source link

Uppercase/Lowercase conflict with Box and option to rename. #54

Open famewolf opened 4 years ago

famewolf commented 4 years ago

I was attempting to put a copy of all my Google Photo's onto Box so I can free the space on google which is getting full from email. I copied all the google photos down to my pc. In that directory were 2 files named "Smile.jpg" and "smile.jpg". On both Google Photo's and my local linux machine they are differentiated by the uppercase first letter on one. Uploading to box however causes a duplicate file conflict. Renaming it locally is easy enough but I ended up having to DELETE them from Google Photo's just to get the reoccuring sequence to stop (I should have stopped the every 30 minute syncs).

All that being said I wondered if a"rename on conflict" parm could be considered so it would modify the 2nd one slightly so both files got uploaded.

cjnaz commented 4 years ago

Same conflict when running rclone and rclonesync on Windows. The issue is understood. I'll leave it open as a possible future enhancement. I'm curious how rclone itself handles this conflict.

domwoolf commented 3 years ago

+1 to bump this enhancement request. I regularly sync Linux to Box. Linux paths are case sensitive, but Box is not. Case conflicts have caused me issues many times, when lsl file errors cause all future syncs to fail. If I run rclonesync in a scheduled cron job, it can be a long time before I notice the problem, by which time conflicts between local and remote directories have snowballed.

cjnaz commented 3 years ago

Thanks for the bump. Unfortunately I'm holding off on non-critical work on rclonesync since the rclone team is incorporating rclonesync into the rclone proper as a new bisync command. If rclone already has a solution for this problem then you should be good to go right out of the chute.