Here’s a simple Python script that might do what you want:
for path, folders, files in os.walk(“path/to/folder“): # replace this
> for file in files:
>> renamed = file
>> for char in [“-”, “:”]: # replace these
>>> renamed = renamed.replace(char, “”)
>> os.rename(os.path.join(path, file), os.path.join(path, renamed))
Heya everyone !
I’m looking to rename files that have problematic symboles in them. I’m using Freefilesync to copy over files and folders and some don’t work well due to file and folder names.
Any tips on how to recursively find and rename files to remove problematic ‘.‘ and whatnots ?
I personally think this is a fundamental property of the universe, and that life as we know it either never would have evolved or would have evolved to use something like this as a source of energy.
Even something as complicated as nuclear fission can occur naturally on our very Earth. Less complicated nuclear fusion pretty much powers the whole universe, naturally providing for life in conditions where it can’t be easily formed again.
These kinds of broad, reflective articles are my absolute favorite.
Thankfully for us, humans’ most destructive technology to date – nuclear weapons – is exceedingly difficult to master. But one way to think about the possible effects of a black ball is to consider what would happen if nuclear reactions were easier. In 1933, the physicist Leo Szilard got the idea of a nuclear chain reaction. Later investigations showed that making an atomic weapon would require several kilos of plutonium or highly enriched uranium, both of which are very difﬁcult and expensive to produce. However, imagine a counterfactual history in which Szilard realised that a nuclear bomb could be made in some easy way – over the kitchen sink, say, using a piece of glass, a metal object and a battery.
There’s no real reason to drag Signal into this - the article is really about whether the feds can gain total control over your locked iPhone.
Signal has become the de facto king of secure messaging apps of late, stealing users from WhatsApp and gathering millions of others looking for private forms of communication. That means the police and governments will be wanting, more than ever, to ensure they have forensic techniques to access Signal messages. Court documents obtained by Forbes not only attest to that desire, but indicate the FBI has a way of accessing Signal texts even if they’re behind the lockscreen of an iPhone.
Myanmar’s military says it is taking control of the country in a coup against the civilian government led by Aung San Suu Kyi, who was detained along with other National League for Democracy leaders on Monday.
The army said that power would be transferred to Commander-in-Chief Min Aung Hlaing, in a statement broadcast on military-owned television that also declared a one-year state of emergency, Reuters reported.
Similarly, a Wayland compositor in 500 lines of C: https://gist.github.com/ddevault/ae4d1cdcca97ffeb2c35f0878d75dc17
An X11 window manager in 50 lines of C.
Or, I suspect there will be calls to monitor metadata and who’s connecting to who, which is similarly bad.
The social outrage mob must have a three-letter agency PSYOPS element, because how else do you explain them trying to get Signal or Telegram to moderate speech. They’re encrypted apps you absolute children.
If you want to moderate speech on an encrypted app, it means you’ll have to read the conversations, which means the damn encryption isn’t working to being with.