< back

How AI Helped Me Free ~120GB and Organize My Backups

I usually write about AI in the context of code or software engineering. Today I want to share a few cases where it helped me a lot outside the editor.

Clean disk space

I needed to encrypt my Linux partition using LUKS, so before that I had to back up my entire home folder. I asked AI to check the home size and see how many GB the backup would require. The answer was 149 GB. Then I asked what was causing so much usage. It replied that most of the space was cache, node_modules, old Node versions, app builds, and other files I could remove safely.

I started removing them one by one. The final result was a home folder with just 31 GB. I prevented 118 GB of unnecessary files from being included in the backup.

USB drive organization

I have a USB drive where I store personal stuff. I don't use big cloud providers anymore (check My DeGoogle Journey for more details about this decision). Over time it accumulated redundant files, duplicates, and related stuff split across different folders. I asked AI to suggest a better organization. It removed redundancy by merging duplicated folders and split files, and also flattened single-child folders, since they create unnecessary wrappers. The result was not free space, but a much better visualization of my data.

Sync backups with Proton Drive

I still need somewhere safe to keep personal stuff synced. If I lose my pendrive or it stops working, I don't want to worry, because everything will be safe in another place. That's why I chose Proton Drive. Proton services are end-to-end encrypted, so at least there is a layer of privacy that other big clouds don't provide. You can sign up through my Proton referral link. I also have a dedicated section on the Elsewhere page with all my referral links.

I asked AI to create a simple sync script, pendrive-sync, that uses rclone to back up my USB drive to Proton Drive. The script works in both directions, like git. I can push changes and pull changes from Proton.

My USB drive has two folders, cold and vault, and the sync flow works differently for each one:

  • cold: Cold storage. Files I rarely touch, just archived stuff. The canonical source is Proton. If I want to save photos or any type of file in my cold storage, I just save to Proton and run a pull to sync on my USB drive. In this case, the USB drive works as a backup.
  • vault: Hot storage. The folder I touch often. It contains sensitive personal stuff like notes and financial data. I use it to save my private git repos, not GitHub, only git. The sync workflow for this folder is the opposite of cold. The canonical source is the USB drive. I do all the changes locally and just push to Proton. The difference is that on Proton it's not saved as a normal synced folder. For vault, the sync script creates a zip file for the entire folder and pushes it to Proton. On the Proton side I have a list with the last 30 pushed zip files.

Here's the CLI surface:

➜ pendrive-sync --help
Usage: pendrive-sync [--yes] <command>

Commands:
  status                 Mount check, sizes, last sync times, rclone remote check
  vault push             Archive vault → upload to Proton (hot backup)
  vault pull             Restore vault from a Proton archive (destructive)
  vault list             List vault archives on Proton
  cold pull              Sync Proton → pen-drive cold/ (cloud wins)
  cold push              Sync pen-drive cold/ → Proton (explicit)
  setup-hint             Print rclone / Proton setup steps

Options:
  --yes                  Skip confirmation prompts (still prints dry-run for cold)

Environment:
  PENDRIVE_SYNC_CONFIG   Path to config.env (default: ~/.config/pendrive-sync/config.env)
  LOCATE_VAULT           Path to locate-pendrive-vault.sh

So far it's working very well.

Conclusion

As developers we used to use AI only for code stuff, and sometimes we forget that it could be used for everything. These are just some examples of my usage. What about you? What have you been doing with AI? Feel free to reach out if you want to talk about it.

See you next time!