Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arfoll/unrarall

bash script to unrar everything and cleanup in a given directory
https://github.com/arfoll/unrarall

Last synced: about 2 months ago
JSON representation

bash script to unrar everything and cleanup in a given directory

Awesome Lists containing this project

README

        

## unrarall

[![Build Status](https://travis-ci.org/arfoll/unrarall.svg?branch=master)](https://travis-ci.org/arfoll/unrarall)

unrarall attemps to extract all rar files in a given directory (and its
sub-directories) and once successfully extracted remove all the rar files to
cleanup (you must pass --clean= for this to happen and use the rar hook). Other
unwanted files can be removed by the use of the other available hooks (see the
list shown in --help ). It is meant to be more error proof and quicker than
cleaning by hand. You can also set an output folder, use different backends,
perform sfv checks automatically etc...

If there's something you would liked removed by unrarall then you can implement
your own hook (See HACKING).

## INSTALL

1. You just need to make sure you set execute permission on the script. This
can be done using the following command:

```
chmod u+x unrarall
```

2. Place the script wherever you want it and rename it to whatever you want. I
prefer unrarall.

## USAGE

Run unrarall with all cleanups on current directory
```
unrarall --clean=all .
```

Run with an output directory on the current directory
```
unrarall --output /tmp/mystuff .
```

Run unrarall -h to get the help for much more details.

Enjoy.

## ACKNOWLEDGEMENTS

Name and idea comes from "jeremy" see -
http://askubuntu.com/questions/7059/script-app-to-unrar-files-and-only-delete-the-archives-which-were-sucessfully

[![Analytics](https://ga-beacon.appspot.com/UA-11959363-2/arfoll/unrarall)](https://github.com/igrigorik/ga-beacon)