Some aliases
This commit is contained in:
parent
ec7266334e
commit
d81cf5bb1e
|
@ -123,6 +123,9 @@ dl-source() {
|
|||
done
|
||||
}
|
||||
|
||||
receive-subvolume() { nc -c -l -p $2 | btrfs receive -ve $1 }
|
||||
send-subvolume() { btrfs property set $1 ro true; btrfs send -v $1 | pv | nc -c nashorn.fritz.box $2 }
|
||||
|
||||
#}}}
|
||||
|
||||
#################################################################################
|
||||
|
@ -166,7 +169,7 @@ suffix() {
|
|||
alias exifcopy="exiftool -tagsFromFile"
|
||||
photobydate() {
|
||||
revolver start
|
||||
for i in ${*:-(#i)*.(JPG|CR[23]|DNG)}; do
|
||||
for i in ${*:-(#i)*.(JPG|CR[23]|DNG)(N)}; do
|
||||
if [[ -e $i ]]; then
|
||||
revolver update $i
|
||||
dir=$(exiftool -p '$DateTimeOriginal' $i | tr ':' '-' | cut -d' ' -f1;)
|
||||
|
@ -294,4 +297,8 @@ tmpssh() {
|
|||
sshfs $1 ${dir}
|
||||
cd ${dir}
|
||||
}
|
||||
|
||||
alias jdl="docopen $HOME/.jails/*/Downloads"
|
||||
alias vcat="nvimpager -c"
|
||||
|
||||
# vim: foldmethod=marker
|
||||
|
|
|
@ -31,11 +31,15 @@ xqn() {
|
|||
alias xfiles="xbps-query -f"
|
||||
|
||||
xupdate() {
|
||||
if [[ -z "$@" ]]; then
|
||||
sudo xbps-install -Su
|
||||
if [[ $? == 16 ]]; then
|
||||
sudo xbps-install -Syu xbps
|
||||
xupdate
|
||||
fi
|
||||
else
|
||||
sudo xbps-install -SA "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
xowner() {
|
||||
|
|
Loading…
Reference in a new issue