file_organizer_pro banner

file_organizer_pro

4 devlogs
10h 50m 46s

DownloadsFolderOrganizerPro.app is a macOS application that automatically tidies your Downloads folder by sorting files into category-specific subfolders. Instead of having hundreds of mixed files cluttering your Downloads, the app creates organiz…

DownloadsFolderOrganizerPro.app is a macOS application that automatically tidies your Downloads folder by sorting files into category-specific subfolders. Instead of having hundreds of mixed files cluttering your Downloads, the app creates organized folders and moves files into them.

This project uses AI

used ai for applescript debugging which was the hardest part

Demo Repository

Loading README...

Biraj Bhattarai

built a mac-only applescript downloads organizer with three modes: baseline loop, batch move optimization, and batch plus caching using ~/Library/Preferences/OrganizerCache.txt. it auto-creates category folders, logs actions to ~/Desktop/OrganizerLog.txt, shows runtime and moved-count, and runs as a stay-open app every 5 minutes via on idle.

Changelog

  • made an app version and implement idle thing (27c7c65)
0
Biraj Bhattarai

implemented caching in the main organizer app and confirmed it compiles.

what changed

  • added organizeBatchWithCache to run batch moves with cache checks.
  • added moveBatchCached to skip files already processed.
  • added loadCache and saveCache handlers.
  • cache path now used: ~/Library/Preferences/OrganizerCache.txt.
  • kept baseline and batch-no-cache paths for comparison.

validation done

  • compile check passed.
  • cache handlers verified in the main script.

expected performance impact

  • first run: similar to batch mode while cache warms up.
  • second run: significantly faster because already-processed files are skipped.
  • target: repeat run near or under 1 second when no new downloads are present.

next step

run baseline, batch, and cache+batch back-to-back and record runtime, apple events, and memory in README.

Changelog

  • add cache organization script (69964b5)
0
Biraj Bhattarai

progress

  • implemented baseline organizer (organizebaseline) using a file-by-file loop.
  • implemented batch organizer (organizebatchnocache) using grouped finder moves.
  • added auto-folder creation and logging to ~/desktop/organizerlog.txt.
  • fixed major script errors and validated compile.

compile check used:
osacompile -o /tmp/organizerbaseline.app organizerbaseline.scpt

optimization focus

  1. batch apple events: reduced finder calls by moving file groups instead of single files.
  2. caching (next): planned cache at ~/library/preferences/organizercache.txt to skip already processed files.

early results (draft)

  • baseline: ~8.4s
  • batch: ~3.1s
  • target with cache on repeat run: <1.0s

next steps

  1. add cache read/write and skip logic.
  2. add stay-open on idle (5-minute interval).
  3. record final runtime, apple events, and memory metrics in readme.

Changelog

  • implement script with batch processing and logging features (2ed2f28)
  • started working on script (a2df314)
0
Biraj Bhattarai

Changelog

this is my first devlogging. i am making a file organizer for mac devices which is optimized and can be done from applescript. i am using Xcode for the file editing and started designing the script

Attachment
0