Skip to main content

No project description provided

Project description

This rotates the output paths so that write limitations are not exceeded. This is mostly for writing lots of sound files for an IOx app I created.

The actual problem

Look, I really don’t know that much about it, but apparently in the Linux filesystem there is a data-structure called an inode that describes things like files and folders. The inode stores things like the attributes of the object and where it is located on disk. Anyway, you have a limit of these per folder, so when you write too many files per folder (in my particular case this was ~13000) you suddenly get an error saying the disk is full. The disk is not full you just ran out of inodes. You can solve this by creating more directories… here we are :fire:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for folder-rotator, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size folder_rotator-0.0.5.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page