$git clone https://github.com/nitish771/reducer
$ import reducer as r
$ r.Compress(remote='/path/to/remote/directory/which/you/want/to/compress', local='/where/to/save', **kwargs)
You can pass following keyword arguments
Args | use |
---|---|
res:int | sets compression resolution |
cmd:(convert or compress) | what to do |
quitIfFolderExists:bool | if local folder exists it will quit immediately |
encrypt:bool | after compression it will compress entire compressed folder with shift cipher |
shuffle:bool | shuffle compresssion |
delete_dup:bool | remove duplicates after compression |
hidden:bool | count hidden files too (e.g. - .git) |
- Compression details(e.g. start time, taken time, end time)
- colorful details to distinguish files