Skip to content

Instantly share code, notes, and snippets.

View rolve's full-sized avatar

Michael Faes rolve

View GitHub Profile
@rolve
rolve / syncthing-revert-versioning.sh
Last active September 9, 2023 09:13
Script to revert file names changed by Syncthing's simple versioning
for f in `find | sort`; do if [ -f $f ]; then mv -f $f `echo $f | sed 's/~[^.]*//'`; fi; done