Crates.io | dropboxignore |
lib.rs | dropboxignore |
version | 0.1.0 |
source | src |
created_at | 2024-10-13 20:09:39.656863 |
updated_at | 2024-10-13 20:09:39.656863 |
description | A tool to use .dropboxignore files to exclude files from Dropbox syncing |
homepage | |
repository | https://github.com/antbern/dropboxignore |
max_upload_size | |
id | 1407650 |
size | 23,996 |
A small utility for dealing with ignored files when using dropbox
on Linux.
It introduces a simple .dropboxignore
with the same contents as a standard .gitignore
file
that can be placed anywhere in the dropbox
sync folder. When this program is run with the
check
command and a path to the dropbox
sync folder, it will traverse the folders and
match each file against the found .dropboxignore
files (respecting all files in the parent
folders as well), and update the com.dropbox.ignored
extended file attribute to tell dropbox
to
ignore (eg. not sync) the specified file or folder.
The idea is that the dropboxignore
tool shall be run periodically, eg. every minute, to keep the
right files and folders ignored while you work.
As an example of a .dropboxignore
file, see the one in this repo. Very useful
for keeping dropbox
from syncing the rust target/
folder containing build artifacts.
Usage: dropboxignore <COMMAND> [FLAGS] <FOLDER SYNCED BY DROPBOX>
Commands:
check Traverse and ignore files as depicted by the .dropboxignore files.
ignore Ignore the specified file/folder.
unignore Unignore the specified file/folder.
Options:
--dry-run Do not apply any changes to the file system, only print out what it
would do if run without the flag.
-r, --recursive Apply ignore and unignore commands to all files and subfolders of the
provided folder, recursively.