🚀 Breaking news: mmap() is retiring! 🎩 #Fileoperations in the #kernel will apparently do some #magic without it. Maybe next we'll phase out files altogether and just read minds? 📚✨
https://lwn.net/Articles/1038715/ #mmap #retirement #technews #HackerNews #ngated
The phaseout of the mmap() file operation

The file_operations structure in the kernel is a set of function pointers implementing, as the [...]

LWN.net

Just had to rename a bunch of files underscore-separated timestamps, and did a Python gist to facilitate this task to myself in the future.

https://gist.github.com/juandesant/16c337e15a87f430c3ab8483ffa0506d

#Python #FileOperations #FileRenaming #RenamingFiles #OsRename #OsListdir #ReSub #RegularExpressions #RegEx #RegExp #RegExSubstitution

Rename files using os.listdir and matches, then re.sub, and os.rename

Rename files using os.listdir and matches, then re.sub, and os.rename - rename_timestamped_files.py

Gist