What is the problem you are having with rclone?
I'm using rclone to back up a collection of Git repositories to remote storage. I'd like to exclude files that are already ignored by each repository's .gitignore file so that build artifacts, caches, and other generated files are not backed up.
I understand that rclone doesn't natively read and apply .gitignore files. Is there any supported way to make this work.
Run the command rclone version and share the full output of the command.
rclone v1.60.1-DEV
- os/version: debian 13.6 (64 bit)
- os/kernel: 6.12.94+deb13-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.2
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone sync $SSDWORKING/_Working $WD_SOURCE/_Backup/_SSDWorkingRClone --backup-dir $WD_SOURCE/_Backup/_SSDWorkingRCloneDELETED/$(date +"%d-%m-%y_%I-%M-%S%P").bak --progress --links --create-empty-src-dirs --human-readable --log-level INFO