dlbeswick / gio-sync

Commandline tool making use of the Gnome Gio library and GVFS to sync file paths. Targeted at MTP devices.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Feature request: Ignore specified files/folders #1

Open quienn opened 1 week ago

quienn commented 1 week ago

I'm currently using this tool to backup certain folders in my laptop: code projects, most of them Node.js-based, and personal documents. And in both cases I'd love to be able to ignore certain things from the syncing process, like .git and node_modules folders.

This feature could be implemented behind of a --ignore flag or a .gio-sync-ignore file with a list of paths, or both options.

dlbeswick commented 4 days ago

Hello there! Nice to know that you're getting some good use from the project.

This feature makes perfect sense, but I'm curious -- are you just backing up files from disk-to-disk? Is there a reason for your usecase that "rsync" isn't a better choice?

quienn commented 3 days ago

Yes! I'm using the Google Drive backend. And I know there's things like rclone and google-drive-ocamlfuse, but it makes more sense for me to use the already built-in GVFS instead of yet another tool that comes with its own set of extra dependencies. It integrates perfectly on my GNOME desktop.

dlbeswick commented 3 days ago

I see! Thanks for the detail, that does make sense. I can certainly look at this for you over the coming weeks. Since I know someone's using it, I'll have a go at packaging it up in PIP, too.

If you're keen to make the change, of course please feel free to have a go at a PR, too.

ในวันที่ พฤ. 4 ก.ค. 2024 09:58 Martín Aguilar @.***> เขียนว่า:

Yes! I'm using the Google Drive backend. And I know there's things like rclone and google-drive-ocamlfuse, but it makes more sense for me to use the already built-in GVFS instead of yet another tool that comes with its own set of extra dependencies. It integrates perfectly on my GNOME desktop.

— Reply to this email directly, view it on GitHub https://github.com/dlbeswick/gio-sync/issues/1#issuecomment-2207568584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG5TKEHALUGABGNPA6EHALZKSF3PAVCNFSM6AAAAABKC4HHBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXGU3DQNJYGQ . You are receiving this because you commented.Message ID: @.***>