blackhole icon indicating copy to clipboard operation
blackhole copied to clipboard

🌌 A semi-temporary directory for Windows, macOS & Linux

Logo

Blackhole

GitHub Actions Build Status

Blackhole is a simple program that creates a folder in your computer's home directory where files may not return.

Every time you start your computer/log into your user account, if contents are present, the Blackhole directory is moved to your computer's Recycle Bin/Trash, where you can restore it if needed.

Use Cases

  • Temporary downloads
  • Temporary torrents
  • Temporary extractions of specific files in archives (.zip, .tar, .rar, etc)
  • Temporary storage for files waiting to be uploaded elsewhere, e.g. via FTP
  • Temporary downloads of files from instant messaging
  • A recoverable/very large/non-volatile (but slower) ramdisk
  • A glorified temp folder/recycle bin

And much more...

Releases

Click here for pre-built binaries.

Requirements

  • Your operating system must have some form of "Recycle Bin" or "Trash"
  • Your operating system must provide you a home directory
  • The program may require administrative/elevated privileges on some operating systems

Windows

Blackhole will automatically add itself to your startup programs via the registry.

If contents are present, the BLACKHOLE directory will be moved to the Recycle Bin every time you start up your computer.

The BLACKHOLE directory will automatically be added to the Quick Access locations.

File Location

%USERPROFILE%/BLACKHOLE

Linux & MacOS

Automatically scheduling the Blackhole to be purged at startup is currently only supported on macOS.

If you know Rust and a bit about your favourite OS, pull requests are appreciated.

If you simply want to do it yourself, just run the program with the --purge flag at startup.

File Location

$HOME/BLACKHOLE

Screenshots

Windows

Credits

Icon made by Flat Icons from www.flaticon.com