Computer programmer. Double bass player @ Gothenburg Opera. Linux since the 90s. about me โ
Rename files, change permissions, redirect symlinks โ edit dired like a buffer.
Mosh demands UTF-8. Your legacy server speaks Latin-1. Bridge the gap.
Space-efficient incremental backups using hard links. The same idea behind macOS Time Machine, built with standard Unix tools.
rsync -a --delete --relative --one-file-system \
--numeric-ids --exclude-from=$BACKUP_EXCLUDE \
--link-dest=$CURRENT_BACKUP/ / $NEW_BACKUP/
# update symlink to latest snapshot
[ -h $CURRENT_BACKUP ] && rm -f $CURRENT_BACKUP
ln -s $NEW_BACKUP $CURRENT_BACKUP
A physics-based weight loss program. No diet โ just a plane ticket.