What is the problem you are having with rclone?
I want to limit sync form google drive to one drive only folder name with A to M not A to Z ...
Is rclone sync support limit to alphamatically?
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: Microsoft Windows 11 Pro 21H2 (64 bit)
- os/kernel: 10.0.22000.2003 Build 22000.2003.2003 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Google drive to One Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync "main:MINE/SERIES@BK/ENG-SERIES" "engseries01:ENG-Series - A - L" --drive-server-side-across-configs=true --delete-during --transfers 4 --tpslimit 10 --fast-list --drive-pacer-min-sleep=10ms --checkers 16 -P -vv --drive-skip-shortcuts --order-by name,ascending --check-first
The rclone config contents with secrets removed.
Paste config here
A log from the command with the -vv
flag
2023-06-12 21:03:55 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E04 - The Eyes of Texas - 1080p - HD.mp4: Uploading segment 293601280/554182133 size 10485760
2023-06-12 21:03:56 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E03 - Other Voices, Other Rooms - 1080p - HD.mp4: Uploading segment 293601280/670162815 size 10485760
2023-06-12 21:04:06 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E01 - The Rabbit Hole - 1080p - HD.mp4: Uploading segment 293601280/982750261 size 10485760
2023-06-12 21:04:06 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E02 - The Kill Floor - 1080p - HD.mp4: Uploading segment 293601280/814672719 size 10485760
2023-06-12 21:04:12 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E04 - The Eyes of Texas - 1080p - HD.mp4: Uploading segment 304087040/554182133 size 10485760
2023-06-12 21:04:14 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E03 - Other Voices, Other Rooms - 1080p - HD.mp4: Uploading segment 304087040/670162815 size 10485760
2023-06-12 21:04:24 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E01 - The Rabbit Hole - 1080p - HD.mp4: Uploading segment 304087040/982750261 size 10485760
2023-06-12 21:04:24 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E02 - The Kill Floor - 1080p - HD.mp4: Uploading segment 304087040/814672719 size 10485760
2023-06-12 21:04:31 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E04 - The Eyes of Texas - 1080p - HD.mp4: Uploading segment 314572800/554182133 size 10485760
2023-06-12 21:04:32 DEBUG : 11.22.63 (2016)/Season 1/(N-MOVIES) 11.22.63 (2016) - S01E03 - Other Voices, Other Rooms - 1080p - HD.mp4: Uploading segment 314572800/670162815 size 10485760
Transferred: 1.169 GiB / 10.094 TiB, 0%, 2.330 MiB/s, ETA 7w3d13h
Checks: 1034 / 1034, 100%
Deleted: 8 (files), 0 (dirs)
Transferred: 0 / 20988, 0%
Elapsed time: 8m56.7s
Transferring:
* 11.22.63 (2016)/Season… Hole - 1080p - HD.mp4: 31% /937.224Mi, 650.704Ki/s, 16m46s
* 11.22.63 (2016)/Season…Floor - 1080p - HD.mp4: 38% /776.932Mi, 634.435Ki/s, 12m55s
* 11.22.63 (2016)/Season…Rooms - 1080p - HD.mp4: 47% /639.117Mi, 560.584Ki/s, 10m17s
* 11.22.63 (2016)/Season…Texas - 1080p - HD.mp4: 57% /528.509Mi, 540.250Ki/s, 7m9s
Could you make some more clear example? as as I understand
include A to M
exclude A to Z
excludes everything.
What you want to happen when these are your main Gdrive folder folders:
Afolder
Cfolder
Kfolder
Nfolder
Rfolder
Ufolder
Xfolder
Zfolder
1 Like
Main Folder have A to Z alphamatcally.
Eg: Folder name Alphan, Beta,Charlie,delta.....Zulu...
but i only sync from Main folder with from Alpha folder to Novemer not to Zulu...
Gdrive main folder:
Afolder
Cfolder
Kfolder
Nfolder
Rfolder
Ufolder
Xfolder
Zfolder
Ondrive folder after sync:
???
yep sir .
Gdrive main folder have:
Afolder
Cfolder
Kfolder
Nfolder
Rfolder
Ufolder
Xfolder
Zfolder
Dest folder one drive:
no yet have. i only want sync specific folder like
Afolder
Cfolder
Kfolder
Nfolder only
and i dont want to upload to
Rfolder
Ufolder
Xfolder
Zfolder to One Drive ..
is that possible sir ...
add these options to your sync --include "/[a-n]**/**" --ignore-case
Use --ignore-case
if you want lower and upper case included.
use --dry-run -vv
to test
and I think your command is over engineered:
Use:
rclone sync "main:MINE/SERIES@BK/ENG-SERIES" "engseries01:ENG-Series - A - L" --fast-list --drive-skip-shortcuts --include "/[a-n]**/**" --ignore-case -P -vv --dry-run
1 Like
thanks sir i will try it...
what is -zz sir?
rclone does not recongnise it
Oups - it is my mistake:) It should be:
-vv
1 Like
thanks sir...for helping me
when you see that it works and you are happy with results remove --dry-run
1 Like
2023-06-12 21:40:59 NOTICE: Breaking Bad (2008)/Season 4 (1080P)/Breaking Bad (2008) - S04E10 - Salud - 1080p - HD.mp4: Skipped copy as --dry-run is set (size 749.705Mi)
2023-06-12 21:40:59 NOTICE: Breaking Bad (2008)/Season 4 (1080P)/Breaking Bad (2008) - S04E11 - Crawl Space - 1080p - HD.mp4: Skipped copy as --dry-run is set (size 744.160Mi)
2023-06-12 21:40:59 NOTICE: Breaking Bad (2008)/Season 4 (1080P)/Breaking Bad (2008) - S04E12 - End Times - 1080p - HD.mp4: Skipped copy as --dry-run is set (size 729.179Mi)
2023-06-12 21:40:59 NOTICE: Breaking Bad (2008)/Season 4 (1080P)/Breaking Bad (2008) - S04E13 - Face Off - 1080p - HD.mp4: Skipped copy as --dry-run is set (size 799.067Mi)
Transferred: 712.221 GiB / 712.221 GiB, 100%, 6.722 GiB/s, ETA 0s
Checks: 182 / 182, 100%
Transferred: 1709 / 1709, 100%
Elapsed time: 1m24.6s
2023/06/12 21:40:59 NOTICE:
Transferred: 712.221 GiB / 712.221 GiB, 100%, 6.722 GiB/s, ETA 0s
Checks: 182 / 182, 100%
Transferred: 1709 / 1709, 100%
Elapsed time: 1m24.6s
Its working sir thanks so much to you
rclone sync "main:MINE/SERIES@BK/ENG-SERIES" "engseries01:ENG-Series - A - L" --fast-list --drive-skip-shortcuts --include "/[a-b]**/**" --ignore-case -P --dry-run
2 Likes
sir it work only for alphabetic ...
i need to digit to alphabetic like folder name 1 - M
how to do that sir ?
to make is simple you can do this in 2 steps e.g.
rclone sync source: destination: --fast-list --drive-skip-shortcuts --include "/[a-b]**/**" --ignore-case -P --dry-run
rclone sync source: destination: --fast-list --drive-skip-shortcuts --include "/[1-2]**/**" -P --dry-run
sir i want copy form folder name like
911 (2018) to Lupin (2021)
folder name startwith digits to alpha that i desierd to ,....
sir
is that possible?
yes in my example:
rclone sync source: destination: --fast-list --drive-skip-shortcuts --include "/[1-2]**/**" -P --dry-run
only folder starting with 1 and 2 will sync
for 9something
rclone sync source: destination: --fast-list --drive-skip-shortcuts --include "/[7-9]**/**" -P --dry-run
it will sync any folder starting with 7, 8 or 9
Did you mena like this
rclone sync "main:MINE/SERIES@BK/ENG-SERIES" "engseries01:ENG-Series - A - L" --fast-list --drive-skip-shortcuts --include "/[a-l]**/**" --include "/[1-9]**/**"--ignore-case -P -vv --dry-run
NO - run two commands I gave you - this is what I mean 2 steps
so first you sync all a* annd b*
then
1* and 2*
if you want to combine everything in one command you have to use filters but is looks for me step approach is easier
with all do respect sir
when i run second command for digit .....
rclone syns will remove alphabetic sir