Sometimes you have a bunch of files, for example a bunch of images, which name consists of just a number and an extension. When you want to process them further sorting them will sometimes fail when they are not prefixed with a zero. That’s easily solved in a one-liner
Continue reading “Rename numbered files”Tag: CommandLine
Hardlink with rsync
Sometimes you want to create a quick snapshot of a few files / folders. rsync is a great tool for this. And sometimes you don’t want to copy the files because that takes up space and you might be copying them to the same filesystem. Hardlinking is quite a nice option in this case (if the filesystem supports it)
Continue reading “Hardlink with rsync”