* Added HFS+ to udevil's allowed types. * Added mediainfo to meet photorec-sort requirements * Removed git * Switched out Chromium for Midori * Size reduction test * hw-diags now tests USB drives (except ARCH drives) * mount-all-volumes no longer opens the file browser Bugfix: mount-backup-shares should now work.
32 lines
1.4 KiB
Bash
32 lines
1.4 KiB
Bash
#!/bin/zsh
|
|
alias 7z0='7z a -t7z -mx=0'
|
|
alias 7z1='7z a -t7z -mx=1'
|
|
alias 7z3='7z a -t7z -mx=3'
|
|
alias 7z5='7z a -t7z -mx=5'
|
|
alias 7z7='7z a -t7z -mx=7'
|
|
alias 7z9='7z a -t7z -mx=9'
|
|
alias du='du -sch --apparent-size'
|
|
alias fidentify="/usr/bin/fidentify-wip$(getconf LONG_BIT)"
|
|
alias fix-perms='find -type d -exec chmod 755 "{}" \; && find -type f -exec chmod 644 "{}" \;'
|
|
alias less='less -S'
|
|
alias mkdir='mkdir -p'
|
|
alias mount='sudo mount'
|
|
alias mv='mv -nv'
|
|
alias photorec="sudo /usr/bin/photorec-wip$(getconf LONG_BIT)"
|
|
alias q1='clear && sudo ls -1'
|
|
alias q1a='clear && sudo ls -1A'
|
|
alias q='clear && sudo ls -lh'
|
|
alias qa='clear && sudo ls -lAh'
|
|
alias qs='clear && sudo ls'
|
|
alias qsa='clear && sudo ls -A'
|
|
alias rm='rm -v'
|
|
alias rmdirs='find -depth -mindepth 1 -type d -exec rmdir "{}" --ignore-fail-on-non-empty \;'
|
|
alias rs='rsync -avhPS --stats --exclude-from="$HOME/.rsync_exclusions"'
|
|
alias rsz='rsync -avhzPS --stats --exclude-from="$HOME/.rsync_exclusions"'
|
|
alias sdu='sudo du -sch --apparent-size'
|
|
alias srmdirs='find -depth -mindepth 1 -type d -exec sudo rmdir "{}" --ignore-fail-on-non-empty \;'
|
|
alias srs='sudo rsync -avhPS --stats --exclude-from="$HOME/.rsync_exclusions"'
|
|
alias srsz='sudo rsync -avhzPS --stats --exclude-from="$HOME/.rsync_exclusions"'
|
|
alias testdisk="sudo /usr/bin/testdisk-wip$(getconf LONG_BIT)"
|
|
alias umount='sudo umount'
|
|
alias unmount='sudo umount'
|