David
(David)
1
What is the problem you are having with rclone?
exclude from file is being ignored and and everything is being copied.
What is your rclone version (output from rclone version
)
rclone v1.48.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu-1804-bionic-64
Which cloud storage system are you using? (eg Google Drive)
sftp
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy --progress --exclude-from exclude-file.txt /home/dave/files/test Box-2:/home/david/Backup
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
ncw
(Nick Craig-Wood)
2
Can you post the contents of the --exclude-from
file? Note the paths in there need to be relative to /home/dave/files/test
The most probably cause is an error or misunderstanding in the filter syntaxt - so post that if you can (and redact any sensitive information).
David
(David)
4
exclude-file.txt.
Backup.January.2017
Backup.February.2017
Backup.March.2017
Backup.April.2017
Backup.May.2017
Backup.June.2017
Backup.July.2017
Backup.August.2017
Backup.September.2017
Backup.October.2017
Backup.November.2017
Backup.December.2017
index.txt
ncw
(Nick Craig-Wood)
5
If you want to exclude a directory and its contents you need directory/**
.
That will refer to a directory anywhere in the tree, but I guess yours are at the root, so you probably want
/Backup.January.2017/**
/Backup.February.2017/**
...
/index.txt
You could probably shorten that to
/Backup.*.2017/**
/index.txt
or maybe even
/Backup.*/**
/index.txt
system
(system)
Closed
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.