There are a few one-liners that I use in the shell to do some really nifty stuff. I struggle to quickly find and reuse these and asked for a solution on Mastodon. A handy one-liner might be something like (taken from here): This converts all the flac files in subfolders into mp3 files. Obviously, we […]
Tag: shell
Tips From The Blog XVI: fast check of two directories
Here is a quick method for checking parity between two directories. Let’s say we have two directories dir1 and dir2. They are large and have thousands of files and subdirectories. How can we check that they have the same contents? I found myself in this situation recently during a server migration. Method 1: rsync To […]
Experiment Zero: Using a Raspberry Pi Zero camera
This is the first post at quantixed about Raspberry Pi computing. Pi Zero is a minimalist Raspberry Pi that can be coupled to a camera. With this little rig, you can make time-lapse footage amongst other things. I’ve set up a couple of these now. One was to make a time-lapse movie of some plants […]