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.
With the potential complexity and hierarchy of .gitignore files, I suspect you'd have to write a tool to parse the .gitignore files and create a filter file. Rclone Filtering