1
0
Fork 0
mirror of https://github.com/ItsDrike/dotfiles.git synced 2025-05-03 06:48:36 +00:00

Add more upload aliases

This commit is contained in:
ItsDrike 2025-04-09 23:12:07 +02:00
parent ee6f059647
commit 2113835e41
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -141,7 +141,9 @@ alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system jou
alias sv='systemctl'
alias pacnew="find / -name '*.pacnew' 2>/dev/null" # Search for all new configurations after pacman update
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
alias upload='curl -F "f:1=<-" ix.io'
#alias upload='curl -F "f:1=<-" ix.io' # ix.io was offline for about 10 months now...
#alias upload='curl -F "sprunge=<-" http://sprunge.us' # sprunge.us was offline for a few weeks now, not sure why
alias upload='curl -F "file=@-" https://hardfiles.org' # hardfiles.org works, but has 24-hour expiry
alias upload-journal='sudo journalctl -b -1 | upload' # Upload journalctl from last boot to ix.io
alias auth-log='journalctl SYSLOG_FACILITY=10 -r'
alias cpu-stress='for i in $(seq $(getconf _NPROCESSORS_ONLN)); do yes > /dev/null & done' # Run `yes > /dev/null` on all cores as stress test