Skip to main content

Folder Rotator

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:

Metadata

Release files for folder-rotator 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for folder-rotator 0.0.5
File Size Uploaded
folder_rotator-0.0.5.tar.gz 3.1 kB Details

Release files / folder_rotator-0.0.5.tar.gz

Download URL folder_rotator-0.0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c66cb1ad0479596731bb87ff058e42fe5c2f136ac20f9af28640a90d80698f87
BLAKE2b-256 checksum
How to use checksums
6115d09f538e51f353d8d83d39e1af3314ce94997a33f4a239265870a2d18092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page