Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
A long time ago (1980s) in a faraway place (England) I worked with an Operating System called VMS.
Every time you wrote to a file it gave it a new version number the file becoming the name plus a semicolon then the version. When using a file, if you didn't specify the version it automatically used the latest version.
Periodically you would purge the excess versions, keeping the last so many you wanted, e.g.
Purge/keep=3
Or (abbreviated):
pu/k=3
Needless to say, your unfortunate tale wouldn't have happened in the Old Days, and shouldn't happen now if we just learned the lessons of the past.
Yes, I am a grumpy old-timer.
Related Rants
-
cdrice104"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ... -
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe... -
tommy16Right now someone at Google is coding something useless for us to laugh at on April Fools.

So I've been exporting a JSON dump of ~120GB for hours and when trying to processing it, and write it to a new file, I wrote to the same file. FML. Hours of export became 0 bytes in no time. Think its time to get some sleep.
rant
sleep deprivation
fml