rtfm-filemanager 2.3.2 → 2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/bin/rtfm +17 -0
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7217e989066b31a7b738092805fa9c7f8b261afdf0444937fc1286cd19ad7658
|
|
4
|
+
data.tar.gz: 4cf34fe9ef723ec6f2829d6bce59c2128a9ee7878665069732bfc5270b5437cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7320de7f8f7775d231163e927b0219c4113747de0eebdd7e52697d645420023e92958157552e0300ed1bd404f85f6bcdac01fe77017631da6f9b205906a49556
|
|
7
|
+
data.tar.gz: 31f08dbab26ccaa324498c621d1547a1e205ed908538628e8494d57dcc3b8b676f9fa950f83d9e2d39a1fe4cd0a97280ca36e2b0173374b863a7c9602664b760
|
data/README.md
CHANGED
|
@@ -168,6 +168,8 @@ P | PUT (move) tagged items here
|
|
|
168
168
|
s | Create symlink to tagged items here
|
|
169
169
|
d | Delete selected item and tagged items. Press 'y' to confirm
|
|
170
170
|
c | Change/rename selected (adds command to bottom window)
|
|
171
|
+
z | Extract tagged zipped archive to current directory
|
|
172
|
+
Z | Create zipped archive from tagged files/directories
|
|
171
173
|
|
|
172
174
|
### Directory views
|
|
173
175
|
|
data/bin/rtfm
CHANGED
|
@@ -67,6 +67,8 @@ MANIPULATE ITEMS
|
|
|
67
67
|
s = Create symlink to tagged items here
|
|
68
68
|
d = Delete selected item and tagged items. Press 'y' to confirm
|
|
69
69
|
c = Change/rename selected (adds command to bottom window)
|
|
70
|
+
z = Extract tagged zipped archive to current directory
|
|
71
|
+
Z = Create zipped archive from tagged files/directories
|
|
70
72
|
|
|
71
73
|
DIRECTORY VIEWS
|
|
72
74
|
a = Show all (also hidden) items
|
|
@@ -528,6 +530,21 @@ def main_getkey # GET KEY FROM USER
|
|
|
528
530
|
w_b_info(err.to_s)
|
|
529
531
|
end
|
|
530
532
|
@w_r.update = true
|
|
533
|
+
when 'z'
|
|
534
|
+
cmd = w_b_getstr("Command = ", "tar xfz #{@tagged.first}")
|
|
535
|
+
begin
|
|
536
|
+
w_b_exec(cmd + " 2>/dev/null")
|
|
537
|
+
rescue StandardError => err
|
|
538
|
+
w_b_info(err.to_s)
|
|
539
|
+
end
|
|
540
|
+
when 'Z'
|
|
541
|
+
arc = w_b_getstr("Archive name: ", "")
|
|
542
|
+
cmd = w_b_getstr("Command = ", "tar cfz #{arc}.gz #{@tagged.join(" ")}")
|
|
543
|
+
begin
|
|
544
|
+
w_b_exec(cmd + " 2>/dev/null")
|
|
545
|
+
rescue StandardError => err
|
|
546
|
+
w_b_info(err.to_s)
|
|
547
|
+
end
|
|
531
548
|
# DIRECTORY VIEWS
|
|
532
549
|
when 'a' # Show all items
|
|
533
550
|
@lsall == "" ? @lsall = "-a" : @lsall = ""
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rtfm-filemanager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: '2.4'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
@@ -47,8 +47,7 @@ dependencies:
|
|
|
47
47
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
|
48
48
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
|
49
49
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
|
50
|
-
other features. New in 2.
|
|
51
|
-
is a code clean-up.'
|
|
50
|
+
other features. New in 2.4: Added archive creation (key=Z) and extraction (key=z)'
|
|
52
51
|
email: g@isene.com
|
|
53
52
|
executables:
|
|
54
53
|
- rtfm
|