Crates.io | git2megaignore |
lib.rs | git2megaignore |
version | 0.1.0 |
source | src |
created_at | 2024-12-09 20:01:59.926591 |
updated_at | 2024-12-09 20:01:59.926591 |
description | Convert a .gitignore file to a .megaignore file |
homepage | |
repository | https://github.com/Farfi55/git2megaignore.git |
max_upload_size | |
id | 1477754 |
size | 20,673 |
This is a simple tool to convert a .gitignore
file to a .megaignore
file. The .megaignore
file is used by the Mega cloud storage service to exclude files from being uploaded to the cloud.
You can read more about the .megaignore
file format here.
cargo install git2megaignore
cd /path/to/your/project
git2megaignore
This will create a .megaignore
file in the current directory.
you can run the following script to convert all .gitignore
files in the subdirectories of the current directory to .megaignore
files:
find . -name .gitignore -execdir git2megaignore \;