https://github.com/maxzz/rardir
Utility to pack meta data inside specified folders.
https://github.com/maxzz/rardir
typescript utility winrar
Last synced: 3 months ago
JSON representation
Utility to pack meta data inside specified folders.
- Host: GitHub
- URL: https://github.com/maxzz/rardir
- Owner: maxzz
- Created: 2020-09-16T09:05:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T02:54:36.000Z (about 1 year ago)
- Last Synced: 2025-02-10T03:17:31.907Z (4 months ago)
- Topics: typescript, utility, winrar
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/rardir
- Size: 14.8 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
rardir is a small utility to pack meta data inside specified folders.
## Install
```npm -g i rardir```
or
```yarn global add rardir```
## Usage
```rardir ```
## Prerequisites
[WinRar](https://www.rarlab.com/) should be installed and registered on system PATH to run rardir.
It is possible to make single executable file with npm package [pkg](https://www.npmjs.com/package/pkg).## Handled cases
arguments | expectations
- | -
multiple files and/or folders | Move all entered items into the new tm.rar file
multple folders and no files | For each folder create s separate tm.rar files
single folder and no files | For each folder create s separate tm.rar files
sinlge foder 'tm' and no files | Zip the content of 'tm' folder to file tm.rar, move tm.rar up and remove folder 'tm'### TODO
* add support for 7-zip
* support for remote folders (UNC path is not supported by node exec on Windows, so we cannot set working folder)
* pause mode for debugging (TBD)