From 33d86fd6b3e0f7fdc5ef26db323b5466a0d4cd8c Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 26 Dec 2021 00:58:29 +0000 Subject: Crude directory backup function --- .config/fish/config.fish | 1 + 1 file changed, 1 insertion(+) (limited to '.config/fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 9737c69..15bbaf7 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -39,6 +39,7 @@ alias todo='$EDITOR (find "$SYNCDIR" -maxdepth 5 -type f -name 'todo.txt')' alias vaultedit='find "$SYNCDIR" -maxdepth 5 -type f | fzf --preview "cat {}" --layout reverse | xargs -r -I{} "$EDITOR" "{}"' # Functions +function backupdir; tar -cf - "$argv" -P | pv -s (du -sb "$argv" | awk '{print $1}') | gzip > "$argv"_backup-(date +%F-%H%M).tar.gz ; end function cheat; curl -s "http://cheat.sh/$argv"; end function fractodec; math -s2 "$argv" ; end function hextodec; math "0x$argv" ; end -- cgit v1.2.3 EAD'>origin/HEAD Content, theme and configuration files for Hugo that runs blog.minskio.co.uk
summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/list.html
diff options
context:
space:
mode:
authorbreadcat2022-02-25 19:45:31 +0000
committerbreadcat2022-02-25 19:45:31 +0000
commit98c131057c6443bddc19df7615a43c845976522b (patch)
treeb720186c59092d88576f1cd0e2d2b716ad248ecd /themes/Brine/layouts/_default/list.html
parent233c4325cc23bd28d21b84aced0e53de04ef9c7e (diff)
downloadblog.minskio.co.uk-98c131057c6443bddc19df7615a43c845976522b.tar.gz
blog.minskio.co.uk-98c131057c6443bddc19df7615a43c845976522b.tar.bz2
blog.minskio.co.uk-98c131057c6443bddc19df7615a43c845976522b.zip
Small revisions
Diffstat (limited to 'themes/Brine/layouts/_default/list.html')