Tag Archives: Bash

Linux: Sort files and directories by created date

I have a directory on my server where I’ve been throwing in files for years. It’s a complete mess and painfully slow to look though given the number of files in there. So my rough-and-ready solution to the problem was to move each of the files and folders into a directory based on when they were added. I’ve deliberately kept it simple and not recursed into each sub-directory, since most of the files are downloads, and I’m only really interested in roughly when they were Continue reading →