diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/keys.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/code/keys.rb b/code/keys.rb index d7d2545f..ac0bce39 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -316,6 +316,11 @@ module Fm end end + when 'du' + externally do + system "du --max-depth=1 -h | less" + end + when 'tar' externally do system('tar', 'cvvf', 'pack.tar', *selection.map{|x| x.basename}) |