Giter Site home page Giter Site logo

cpojer / dropboxignore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sp1thas/dropboxignore

1.0 1.0 0.0 1.06 MB

It's all about the missing .dropboxignore file.

Home Page: https://dropboxignore.simakis.me

License: GNU General Public License v3.0

Shell 98.49% Makefile 1.51%

dropboxignore's Introduction

dropboxignore

dropboxignore-logo

It's all about the missing .dropboxignore file.

Documentation Status dropboxignore Google code style Installation counter

InstallationGetting startedCLIHow to Contribute

This CLI shell script aims to take advantage of glob patterns and existing .gitignore files in order to exclude specific folders and files from dropbox sync. The shell script uses this recent approach to ignore folders and files.

Installation

Using the kickstart script

dropboxignore is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl, wget or another similar tool. attr and git should be installed on your system, as well as Homebrew if you are on macOS.

Method Command
curl sudo sh -c "$(curl -fsSL https://rb.gy/12plgs)" c
wget sudo sh -c "$(wget -qO- https://rb.gy/12plgs)" w

Worried about mysterious shorted urls like? Take a look at the installation script here: https://rb.gy/12plgs --> https://raw.githubusercontent.com/sp1thas/dropboxignore/master/utils/install.sh)

Snap

Get it from the Snap Store

$ snap install dropboxignore

From source

$ git clone https://github.com/sp1thas/dropboxignore.git
$ cd dropboxignore
$ make test  # optional step, bats should be in your PATH
$ sudo make install

Uninstall

$ sudo make uninstall

Getting started

dropboxignore is a CLI tool which supports a collection of commands in order to make your life easier when it comes to exclude files or/and folders from :material-dropbox: dropbox sync. Below you will find some common usecases.

A typical workflow

A common workflow could be the following:

  1. Automatically generate .dropboxignore files based on existing .gitignore files.
  2. Manually update or create .dropboxignore files (Optional).
  3. Ignore matched files based on .dropboxignore files.

and you can run this flow by running the following command:

$ dropboxignore genupi .

Warning: In order to prevent unpleasant data losses, exception patterns are not supported. Both .gitignore and .dropboxignore files with at least one exceptional pattern will be bypassed (for further details: #3).

Note: Automatic generation of .dropboxignore files is an optional step, therefore, may not be a necessary action for your case.

Long story short

Here you can find some of the most common cases that dropboxignore could be useful.

CLI

Here you will find extensive documentation about the dropboxignore command line interface.

How to contribute

If you want to contribute, read the contribution guideline for further details.


*Logo is based on papirus-icon-theme

dropboxignore's People

Contributors

dk-github-acc avatar drallas avatar montaguegabe avatar sp1thas avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.