All Projects → maximtrp → ranger-archives

maximtrp / ranger-archives

Licence: MIT license
Ranger Plugin for Creating and Extracting Archives

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ranger-archives

ranger-autojump
The combined magic of autojump, ranger and zsh
Stars: ✭ 59 (-13.24%)
Mutual labels:  ranger, ranger-plugin
ranger-devicons2
No description or website provided.
Stars: ✭ 21 (-69.12%)
Mutual labels:  ranger, ranger-fm
ranger-cmus
Ranger Plugin for Integration with Cmus Audio Player
Stars: ✭ 20 (-70.59%)
Mutual labels:  ranger, ranger-plugin
Ion.rangeslider
jQuery only range slider
Stars: ✭ 2,494 (+3567.65%)
Mutual labels:  ranger
code2img
🖨️ A carbon-now API wrapper and iOS Shortcut
Stars: ✭ 74 (+8.82%)
Mutual labels:  shortcuts
cheatsheet-generator
Generates cheatsheets for your (favourite) apps
Stars: ✭ 49 (-27.94%)
Mutual labels:  shortcuts
Start-Menu-Manager
App to add websites/software/files/folders/scripts to the Windows 10 Start Menu and Taskbar, and priority shortcuts to Windows 10 Search.
Stars: ✭ 126 (+85.29%)
Mutual labels:  shortcuts
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-79.41%)
Mutual labels:  ranger
dotfiles
🔧 My dotfiles on  macOS for Neovim, Zsh, kitty, lf, etc
Stars: ✭ 90 (+32.35%)
Mutual labels:  ranger
DesktopComposer
Manage Start Menu and Desktop Shortcuts for Windows 10/Windows 2019 in Active Directory Environment
Stars: ✭ 41 (-39.71%)
Mutual labels:  shortcuts
iphone-shortcut-library
Apple iphone IOS 捷径 app 库(Apple Iphone IOS shortcut Library)
Stars: ✭ 42 (-38.24%)
Mutual labels:  shortcuts
qxtglobalshortcut
Cross-platform library for handling system-wide shortcuts in Qt applications
Stars: ✭ 61 (-10.29%)
Mutual labels:  shortcuts
react-shortcut
Convenient React component that detects if the given key combination is pressed, and triggers a callback
Stars: ✭ 16 (-76.47%)
Mutual labels:  shortcuts
etc-skel
/etc/skel with super cool confs for tmux, psql, inputrc, git, bash, dircolors, and more.
Stars: ✭ 22 (-67.65%)
Mutual labels:  ranger
mac-terminal-shortcuts
Useful and common terminal shortcuts for macOS
Stars: ✭ 39 (-42.65%)
Mutual labels:  shortcuts
keybind
ClojureScript key bindings (shortcut) library
Stars: ✭ 85 (+25%)
Mutual labels:  shortcuts
static-hands
⌨️🤯 Stop moving hands, and start code fast ⚡⚡
Stars: ✭ 36 (-47.06%)
Mutual labels:  shortcuts
quickey
⚡️ Quickey creates keyboard shortcuts for your web apps
Stars: ✭ 37 (-45.59%)
Mutual labels:  shortcuts
qtile-x-dotfiles
Various dotfiles for my old Qtile setup running under X.
Stars: ✭ 47 (-30.88%)
Mutual labels:  ranger
shell
Shell functions and aliases
Stars: ✭ 43 (-36.76%)
Mutual labels:  shortcuts

ranger-archives

This is a plugin for ranger file manager that makes it much easier to compress and extract archives. It depends on archivers/compression programs such as tar, zip, 7z, etc. It also supports and prioritizes parallelized versions of compression programs (like pbzip2, pigz, pixz, etc).

asciicast

Installation

Clone this repo into ranger plugins folder. In Linux, it is typically located here: ~/.config/ranger/plugins.

cd ~/.config/ranger/plugins
git clone https://github.com/maximtrp/ranger-archives.git

Usage

The following commands are available:

  • :extract [DIRECTORY]: extracting files to a current or specified directory (optional).
  • :extract_raw [FLAGS]: extracting files with specific flags (optional).
  • :extract_to_dirs [FLAGS]: extracting each archive to a separate directory. E.g.: 1.zip to dir 1, 2.zip to dir 2, etc.
  • :compress [FLAGS] [FILENAME.EXT]: compressing selected/marked files/directories to an archive. If an archive filename is not specified, it will be named after a parent dir.

Examples

Extraction

Basic

Select an archive and type:

:extract some_dir

Or even just:

:extract

Using flags

This is an example of extracting a zip archive to a directory dirname and escaping all non-ASCII Unicode chars:

:extract_raw -U -d dirname

Compression

Basic

Select a file or a folder (or multiple files and folder) in ranger and enter:

:compress files.zip

or (use quotation marks with filenames containing spaces)

:compress "my important files.zip"

Using flags

zip archiver provides a flag for better compression ratio -9 (just like gzip and many others). We can just add it before an archive filename:

:compress -9 file.zip

The other flags can be used likewise.

Shortcuts

You can also add these lines to ~/.config/ranger/rc.conf to use these keyboard shortcuts (ec, ex):

map ex extract
map ec compress
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].