1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-13 17:06:27 +00:00
dotfiles/.config/fish/functions/compress.fish

5 lines
187 B
Fish
Raw Normal View History

2018-11-15 01:01:37 +00:00
# Defined in /tmp/fish.NhxLMl/compress.fish @ line 2
function compress
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on (pwd)/(basename $argv | rev | cut -f 2- -d '.' | rev).7z $argv
end