$ fos -h
Fos is a folder archive tool for Linux or Mac.

Archives ~/Desktop and ~/Downloads by default

Usage: fos [OPTIONS]

Options
    -p, --path PATH                  Input path(s), BE CAREFUL WITH THIS
    -n, --name NAME                  Output name, default is archive
    -z, --zip                        Output as zip file, default is false
    -h, --help                       help
    -v, --version                    version
$ gem install fos
Successfully installed fos-2.0.1
Parsing documentation for fos-2.0.1
Done installing documentation for fos after 0 seconds
1 gem installed
$ fos
[ Creating: /Users/scottyg/Desktop/archive/July_10_2014 ]
[ Archiving: /Users/scottyg/Desktop/file.png ]
[ Archived: /Users/scottyg/Desktop into /Users/scottyg/Desktop/archive ]
[ Creating: /Users/scottyg/Downloads/archive/July_10_2014 ]
[ Archiving: /Users/scottyg/Downloads/file.png ]
[ Archived: /Users/scottyg/Downloads into /Users/scottyg/Downloads/archive ]
$ bundle install
$ rake install

About

Fos is a folder archive tool for Linux or Mac.

By default Fos archives ~/Desktop and ~/Downloads, but can easily archive any folder.

Gem Version

Installation

Fos is a Ruby Gem and can be easily installed with the command gem install fos.

If you do not yet have ruby installed you will need to do that first.

Usage

Basic usage is fos and archives ~/Desktop and ~/Downloads.

fos -h shows you options.


Options
    -p, --path PATH
    -n, --name NAME
    -z, --zip
    -h, --help
    -v, --version


Examples:

fos -p /path/to/folder Archives the contents of /path/to/folder into /path/to/folder/archive

fos -n new_name Archives the contents of ~/Desktop and ~/Downloads into ~/Desktop/new_name and ~/Downloads/new_name respectively.

fos -z Archives and zips the contents of ~/Desktop and ~/Downloads into ~/Desktop/archive.zip and ~/Downloads/archive.zip respectively.

fos -p /path/to/folder -n new_name -z Archives and zips the contents of /path/to/folder into /path/to/folder/new_name.zip.

Config

Config file located at ~/.fos/config.yml

Development

Coming soon.