OneDrive _Changed folder

First of all, my apologies for categorizing this as 'Off Topic' - I'm not sure what other category to use..
Edit: I'm trying to move this to 'Help and Support'

I've been using OneDrive to store files via 'rclone crypt' for years. Some hours ago I noticed my Windows OneDrive taskbar messages scrolling like crazy, with hundreds of files with, for lack of a better term, 'rclone encrypted filenames' being listed as 'moved to _Changed files'.

I used 'rclone ncdu' on a non-Windows machine to check what this was, found the _Changed folder, with a file that didn't look like an encrypted file:

_OneDrive update details.csv

This file has a second line of:
‎Learn more at Why has my filename changed? - Microsoft Support

Going to this URL you get the following text:

OneDrive is being updated to bring you new AI features, enhanced photo and video technology, and a more personalized OneDrive experience. In some cases, OneDrive may need to rename your files and folders. This can happen if:

  • Your filenames are too long,
  • Your folder structure has too many layers (making the overall file name too long),

I think many of my rclone encrypted files are now in this _Changed folder.

Now I'm wondering what steps to take next..

I've noticed the same _Changed folder and the same behaviour, it seems to contain files and folders pulled from my rclone crypt and moved to this "_changed folder". Those files seem to have retained the same file names for all of them, just flattened the directory structure to shorten the overall folder/file name length.

Because the files have been moved to the "_changed folder". Rclone's next run is recopying them to the rclone crypt as "new" files.
It looks like onedrive is then also moving these to the _changed folder too. because I have copies of the same file with xxx(1), xxx(2), xxx(3) in that "_changed folder". So looks like that folder will continue to grow out until it blows my quota. Eak!

Unlear what the exact character limit that's triggering this is. But, "_OneDrive update details.csv" contains a column with the old path and file name and checking the characters in that column, the smallest is 373 characters. Could indicate that the character limit is 372??

Oh well... might be the end of using OneDrive as a general storage. MS services only... Unless there are some conditions which can prevent it - 372 characters observation is definitely good starting point.

@PepJr - does it mean that for path shorter than 372 files were not moved? Do you keep crypt files in dedicated directory? Or you use OneDrive root folder? Do you use by any chance OneDrive sync to move rclone crypt data to the cloud?

Would you mind sharing few full path of moved content? If names are encrypted there is nothing personal there.

Here are a few of the moved files/filepaths

Blockquote
‎My files‎/OneDrive_Backup_crypt/bd5jo77uga7jnft5avd4l2cooc/0p6jmv9930m2bj1ivbi2fan04o/o2442mvctn0ko4v8acl68cefco/e2jtjad5b05vv8rppqkisidpuk/dhait98jsi1e66pdrgrmlcrisc/82petqenc3ekn094j773fcmnu8/7kh7qgk341g7ujar14191rqfpk/4rbl7cprdc2madd78v324esg9o/au6ku1l29vrrfurr3723n5ls24/tdcpqpu7bpe7ndfbck1hrjmp1s/ai8pf8nhcgcbgeq4v6us8v3li4/kqq9vs14lt2i28l2ac68qcphuk/lgpaf8muedtcqlgk6jgsp1os2c
‎My files‎/OneDrive_Backup_crypt/bd5jo77uga7jnft5avd4l2cooc/0p6jmv9930m2bj1ivbi2fan04o/o2442mvctn0ko4v8acl68cefco/e2jtjad5b05vv8rppqkisidpuk/dhait98jsi1e66pdrgrmlcrisc/82petqenc3ekn094j773fcmnu8/7kh7qgk341g7ujar14191rqfpk/4rbl7cprdc2madd78v324esg9o/au6ku1l29vrrfurr3723n5ls24/tdcpqpu7bpe7ndfbck1hrjmp1s/ai8pf8nhcgcbgeq4v6us8v3li4/lt8cbeij8kvujrlgdg62ajdek3i82toqcjmkb9bcd26a5f1t5bmg
‎My files‎/OneDrive_Backup_crypt/bd5jo77uga7jnft5avd4l2cooc/0p6jmv9930m2bj1ivbi2fan04o/o2442mvctn0ko4v8acl68cefco/e2jtjad5b05vv8rppqkisidpuk/dhait98jsi1e66pdrgrmlcrisc/82petqenc3ekn094j773fcmnu8/7kh7qgk341g7ujar14191rqfpk/4rbl7cprdc2madd78v324esg9o/au6ku1l29vrrfurr3723n5ls24/tdcpqpu7bpe7ndfbck1hrjmp1s/ai8pf8nhcgcbgeq4v6us8v3li4/q5uatral19gdaq9e48fptphscc/bt5l1i1pav951l5ba0sisgeuss
‎My files‎/OneDrive_Backup_crypt/bd5jo77uga7jnft5avd4l2cooc/0p6jmv9930m2bj1ivbi2fan04o/o2442mvctn0ko4v8acl68cefco/e2jtjad5b05vv8rppqkisidpuk/dhait98jsi1e66pdrgrmlcrisc/82petqenc3ekn094j773fcmnu8/7kh7qgk341g7ujar14191rqfpk/4rbl7cprdc2madd78v324esg9o/au6ku1l29vrrfurr3723n5ls24/tdcpqpu7bpe7ndfbck1hrjmp1s/ai8pf8nhcgcbgeq4v6us8v3li4/q5uatral19gdaq9e48fptphscc/bt5l1i1pav951l5ba0sisgeuss/6ogi7nvhn6spqsmd50k07f50s8
‎My files‎/OneDrive_Backup_crypt/bd5jo77uga7jnft5avd4l2cooc/0p6jmv9930m2bj1ivbi2fan04o/o2442mvctn0ko4v8acl68cefco/e2jtjad5b05vv8rppqkisidpuk/dhait98jsi1e66pdrgrmlcrisc/82petqenc3ekn094j773fcmnu8/7kh7qgk341g7ujar14191rqfpk/4rbl7cprdc2madd78v324esg9o/au6ku1l29vrrfurr3723n5ls24/tdcpqpu7bpe7ndfbck1hrjmp1s/ai8pf8nhcgcbgeq4v6us8v3li4/q5uatral19gdaq9e48fptphscc/bt5l1i1pav951l5ba0sisgeuss/8c4cois23hib5490vt0q82ta20

1 Like

I've set up a quick experiment with some .Txt files in a folder, such that the total file and path lenghs are from 360 through 374 characters*

Will see what\if onedrive decides to move.

  • measuring as MS seem to be... so including "my files" at the start

This is outside of my crypt btw, just an experiment in onedrive

Good idea. Let's see what it brings.

According to OneDrive documentation max full path length limit is 400 characters so it is strange where 372 limit comes from. However they also mention that files can be moved when "Your folder structure has too many layers" - unfortunately they do not explain it in more details.

BTW - you should use basse32768 encoding for OneDrive. Your path would be significantly shorter. You are using the worst possible choice - base32.

base32 is 5 bits encoding so you can encode only 250 bytes using 400 characters. Switching to base32768 (15 bits) this is 750 bytes. All thanks to OneDrive counting 2 bytes UCS2 characters (used by base32768) the same way as one byte ones.