You are browsing as a guest. Sign up (or log in) to start making projects!

Downloads Organiser

  • 9 Devlogs
  • 8 Total hours

A CLI for Organising primarily your downloads folder but as it developed in my mind generally your pc directories with some basic functionalities already implemented but where you can personalise it with the custom functions.

Ship #1

First of all :

I am currently working on a big update that will add way more potential to this cli fr fr so pls star my repo and follow me.

A note for the reviewer:
The project directly tackles the frustrating, manual problem of messy, unorganized desktop or download folders by automatically categorizing files into structured directories.
+

3 major QoL improvements:

  • Real-time background monitoring (start and stop commands) that automates organization continuously.
  • Intelligent categorization & duplicate handling via SHA-256 duplicate matching and automated folder sorting across 10+ specific asset categories.
  • Stale file archiving and cleanup tools (clean for archiving files older than 30 days and prune for recursively removing empty folders).

For more generic use final V2.2 includes:
Command Description
start Begins real-time directory monitoring in the background.
stop Halts the directory watcher thread/observer.
status Checks active status and targets directory path.
path Displays the target directory path.
path <dir_path> Changes the target folder (requires watcher to be stopped first).
scan Instantly processes all un-organized files currently in the directory.
stats Shows storage analytics and category breakdowns
clean Archives files older than 30 days into _Archive/.
prune Safely removes empty folders recursively.
custom delete Deletes all files matching a keyword or extension (e.g., .tmp).
custom dir Moves all files matching a keyword into a targeted subfolder.
help Prints the interactive command menu.
exit Gracefully terminates the application.

Try project → See source code →
Open comments for this post

46m 29s logged

Added a stats command and added some restrictions to the custom dir that could result in fatal crashes. More analytically the stats command shows storage analytics and category breakdowns also the custom dir update allows you to update an already made dir with more files either of the same or a different keyword!

0
0
4
Open comments for this post

1h 13m 5s logged

I THOUGHT! I hadn;t finished it guys :( but now I think I am finished. Basically what happened is I thought of some methods that could be rly use full and also thought it would be better for you who don’t want the source code could download just an Executable so I delivered once again.But please tell me why to make the change in python it took me 20 mins and a dozen of lines but in cpp it took me 2 times the ammount and effort. What I added:

  • A custom dir function where you insert to arguments: the folder’s in which everything will be moved to name and a keyword that all the files that contin it will be moved to it
  • With the same exact logic custom delete deletes all files that contain the custom keyword
0
0
3
Open comments for this post

26m 18s logged

Updated the python script:

  1. Fixed the double-name problem
  2. Added 3D Models folder
  3. Fixed some hashing and cli class bugs here and there (yes I made my cli into a class for better managment (only in python btw))
  4. I made the git repo and I am pushing this V1 to git
  5. I ’ll probably ship it too and when reviewed will release V2 with all the correction the smart fellas will sugest
  6. The cli INTERFACE is a stylistic Option I could ve easily made it into a GUI but it didn’t fell right.
    Hope youll like it!!!
0
0
3
Open comments for this post

1h 3m 6s logged

Finished The css vrsion just now:

  1. the logic is EXACTLY the same
  2. the files are Apps/Codes/Game_engines/Documents/Images/Archives/Media/Misc
  3. The default Dir is set to Downloads4. C version for now only works on windows
  4. I used sha256 hashing in c++ code too
  5. I gotta fix that if two files of different content have the same name one gets replaced automatically
1
0
15
Open comments for this post

1h 54m 9s logged

Finished python version completly w/ more extensions and I am currently building the same exact thing on cpp hoping it will be faster and equaly user friendly! Btw I am already having lots of trouble understanding all the modules like take a look: #include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include <windows.h>
#include <wincrypt.h>
I am currently studying the windows api to know how to properly use it see yo in the next log ig?

0
0
1
Open comments for this post

45m 45s logged

got the python MvP UP AND RUNNING:
While keeping the real-time monitoring, you set it now with the new client interface feature, so you can start it and stop it anytime. There is automated organization as in the just automated task. There’s duplicate detection. However, I added some maintenance features like scan, which manually organizes existing loose files in the directory, clean, which archives stale files older than 30 days into the archive folder, and prune, that cleans up and deletes empty folders across the directory tree. I also added a path function or method, which when called without any arguments, it displays the path you are in. Usually, that would be downloads. However, you can change it by adding an argument after path, which can make use for specialized directory organizing.The Logo dollar sign Thing I did by copying it from ascci big letters generator (usually used for bash toolboxes)

0
0
10
Open comments for this post

43m 42s logged

Made a working .py mvp (used a bit of stack overflow for hashing, like what the heck is sha256) nex I am gonna make a cli I am imaging it like thos bash toolboxes only mine just cleans up your files.Basically how it works is:

  • Each file gets a distinct hashing value based on its content and is storred in a list (seen_hashes)
  • If 2 files have the same hash value (same content) the file is saved once in the duplicates folder (check happens comparing with the seen_hashes)
  • We have a dictionary called cattegories with various extentions and which cattegory they fall in so the file is compared to the extantions with a for loop that if looped thru without finding and storing in the right cattegory is saved in misc.
  • Every file not oppened or touched for 30 days is discarded upon check / scan
  • A file handler class makes the process easier utilising basic oop concepts
    I am off to adding codes file cuz I found out all my codes went to misc!
0
0
9
Open comments for this post

24m 3s logged

I don’t know abt you but lately managing my downloads tab has been hard and annoying because I have so many useless files on there I want to delete yet there are some things I rlyyyyyyy badly need bad can’t find inside this mess. Now I know there might already be a solution for this (PC cleaners ecc.) BUT I want to try and make my own I will be making 2 versions the MVP one Python (I just started it) and the most painfull tiring but faster one in C 😭😭🩻🩻💀💀. I am currently working on the python one almost finoshed but it has some errors I have to correct. ALSO NO AI IS ALLOWED (only stack overflow and geeksforgeeks)

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…