Zelatrix
(Callum)
March 21, 2020, 2:42pm
1
Let's say I have an rclone
remote with the following structure:
\
|_ 1-20,000
|_ 20,001-40,000
|_ 40,001-60,000
|_ GIFs
|_ Videos
If I use rclone size
, then it calculates the size of all the folders inside the directory. But what if I want only the size of certain folders? I know how to do it for a single folder, but how would I get the combined size of only the 1-20,000
and 20,001-40,000
directories?
asdffdsa
(jojothehumanmonkey)
March 21, 2020, 2:44pm
2
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
Zelatrix
(Callum)
March 21, 2020, 2:45pm
3
I'm using Windows 10 64-bit, and it's a GSuite encrypted remote.
ncw
(Nick Craig-Wood)
March 21, 2020, 3:48pm
4
You could do this with --include
, something like
rclone size remote: --include "/1-20,000/**" --include "/20,001-40,000/**"
Zelatrix
(Callum)
March 21, 2020, 3:54pm
5
Ah, thanks! I was wondering how I would do that!
Lex
March 22, 2020, 2:29am
6
Depending on what you are using it for and/or if you need it to auto-sum the selected folders:
https://rclone.org/commands/rclone_ncdu/