Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

A multi-threaded program to list files. The times we are living in...

I'll give it a try for a few weeks.



sort by: page size:

A lot!

The one I like most it's a bash script that order all my local pictures on a folder into year and month folders based on metadata.

Other than that, just small misc programs


I have an application to manage movie files. It's called UNIX.

What are you using it for!?! Honestly, I'm interested to hear what your use-case is as I struggled to come up with one for this many files.

A script to open all the files I need open, on the appropriate workspaces, for each of the projects I'm currently working on. It feels so slow to do that manually, and it's still satisfying watching all those files open themselves on various workspaces.

What tool do you use for the file lists?

I implemented a solution by threading the listing. Get the files in the root then spin a separate process to do the recursion for each directory.

I have been looking for something like this for ages. Sadly I am usually on windows.

How does it perform with many files?


Yes! Please make it so you don't have to be time travelling cyborg in order to sort files the way you like. You have files right?

This system organizes files in a very efficient way. It could save us so much time everyday and the interface is very good-looking. It seems this system can't show the size of each file or copy/paste a lot of files simultaneously. I really recommend this and hope this could be implemented soon!

I go to my bin dir and list the files.

I do a very similar thing except that I have a folder with multiple .txt files named by dates.

It's a great article, thanks.

But .. do people actually use `ls` to list so many files? I mean, it'd scroll off the terminal anyway.


Same, which is why I made my own bash aliases which basically streams files and text into temporary files in my home directory. I can then paste them as plaintext or move them as files. Should make a function to keep a list of the 10 latest files and query those then.

If you use Everything on windows you can sort by run count to list the most run files at the top, which is an approximation of what you want.

Side note, years ago I organized decades of hard drives, this found clips of my baby siblings playing with microphones and old video games.

I went through literally every folder. Took probably 20 hours.

Wondering if I could simplify this with python. Eliminating generic program files, but keeping all user data. The goal wouldn't be perfection but to take that 20 hours and turn it into 5 hours.

Does this exist in any capacity right now?


This program is awesome. It's useful for e.g. quickly running in a website project folder to figure out what's taking up space as you can browse and delete files as you go.

by filename ,)

This looks like a lovely project but I would also suggest [midnight commander](https://www.gnu.org/software/mc/). It's a console based file manager that is available everywhere.

That'll print the list of files even in a populated directory like /usr/bin and leave me at the prompt with the last few files listed above. As soon as you want the list of files not to go away so you can control/manage/examine them, you are talking of a file manager.
next

Legal | privacy