PatriotM
(Patriot M)
March 9, 2020, 5:45pm
1
is there a limit of chars characters for folders,files or deep path directory?
when i want to upload a folder with a long filename the problems occur that it shows more than 100%.
or could it be the filename of the encryption? i noticed that i only have it with long filenames/folder names
error output pastebin.com
i use rclone last version x64 with a current debian also last version.
calisro
(Rob)
March 9, 2020, 6:10pm
2
standard encryption allows for around ~143 characters.
Yours is:
echo "One.Piece.TV.Special.06.Episode.of.Sabo.Das.Band.der.3.Brueder.die.wundersame.Wiedervereinigung.und.die.vererbte.Entschlossenheit.2015.German.DL.1080p.BluRay.x264-STARS" | wc
1 1 169
https://rclone.org/crypt/#file-name-encryption-modes
ncw
(Nick Craig-Wood)
March 9, 2020, 9:51pm
3
I'm not 100% sure what that error means...
Files can only be 255 characters in length on dropbox, so before encryption they will need to be <143 characters in order to fit as @calisro says.
PatriotM
(Patriot M)
March 10, 2020, 3:10pm
4
I couldn't get the long file/folder up on the drop box. i get only errors.
he tries to upload it over and over again and the percentage display goes way over 100% per file.
all other files/folders go without problems, i use the encryption via rclone.
Transferred: 2.401T / 3.484 TBytes, 69%, 88.915 MBytes/s, ETA 3h32m53s
Errors: 171 (retrying may help)
Checks: 18291 / 18299, 100%
Transferred: 9117 / 19131, 48%
Elapsed time: 7h51m55.7s
Checking:
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r00:400% /95.367M, 1.196M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r01:400% /95.367M, 1.483M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r02:400% /95.367M, 1.389M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r03:400% /95.367M, 2.310M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r04:400% /95.367M, 2.661M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r05:383% /95.367M, 1.215M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r06:300% /95.367M, 300/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r07:300% /95.367M, 1.868M/s, -
Transferring:
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r00:400% /95.367M, 1.196M/s, -
X264-1080P-DE/O/One.Piā¦ical.06.sabo.1080p.r01:400% /95.367M, 1.483M/s, -
I'm running it with "-vvv" right now, then I'll let you know
calisro
(Rob)
March 10, 2020, 3:27pm
5
If you're using crypt, you're never going to get them up there above ~143 characters. If you're not using crypt you should be able to get up to 255. Its like trying to put a gallon of water in a 16oz cup.
PatriotM
(Patriot M)
March 10, 2020, 4:04pm
6
is it possible to exclude folders that are longer than ~143 characters?
calisro
(Rob)
March 10, 2020, 4:11pm
7
You've have to exclude them by name. You can generate an exclude list and then pass that into rclone prior to running using something like --exclude-from
find /path -regextype posix-extended -regex '.*/.{143,}' | sed 's/^.///' > /tmp/ex
rclone copy /path remote: --exclude-from /tmp/ex
PatriotM
(Patriot M)
March 10, 2020, 4:13pm
8
thanks for the quick solution!
ncw
(Nick Craig-Wood)
March 10, 2020, 4:27pm
9
You can do this in rclone very inelegantly with
--exclude "???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????*"
Yes that is 143 ?
marks!
1 Like
calisro
(Rob)
March 10, 2020, 4:40pm
10
Funny I was just looking at that. I was attempting though to use regex which I don't think I can do.
something like ?{143,}*
EDIT: @ncw the rclone only solution will only match files though, no? I dont think directories over 143 are allowed. Am I incorrect in that it will match both?
root@cloudc:/tmp# rclone lsf -R robgd:testcase2 --exclude "?????*"
testdiraaaaaaaaaa/
testdiraaaaaaaaaaa/
testdir/
testdiraaaaaaaaaa/exc2
ncw
(Nick Craig-Wood)
March 11, 2020, 7:44am
11
Yes that solution is for files only, you'd need to exclude the directories separately most likely
system
(system)
Closed
May 11, 2020, 3:44am
12
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.