Powershell one-line script to remove the bracketed date from filenames

Get-ChildItem -Recurse | Where-Object { $_.Name -match " ?\(\d\d\d\d_\d\d_\d\d \d\d_\d\d_\d\d UTC\)" } | Rename-Item -NewName { $_.Name -replace " ?\(\d\d\d\d_\d\d_\d\d \d\d_\d\d_\d\d UTC\)", ""}
Removes the annoying filehistory filename default of adding a really long UTC time and date string to every single file. Non recursive so you will have to run this per directory.

0
2020-04-17 20:20:44

What Others Think

That worked very efficiently. Thanks much for the help. whatsapp sniffer
sniffer · 88 weeks and 4 days ago
the script article soo helpful in coding and have a visit with gbwhatsapp apk
monaa · 88 weeks and 1 day ago
There are many websites for you to find places you need to visit, but you should visit this site. I think you will not be disappointed. mapquest driving directions
pikachu88 · 84 weeks and 3 days ago
It was good information that I can get to know from here. It was very helpful to me. Hostsailor Thanks a lot for sharing this much information regarding this. I expect more such articles from you in the coming days.
zaiyamariya · 77 weeks and 3 days ago
Don’t know how to do academic assignments? Go to [url=https://qweetly.com] https://qweetly.com [/url] and have a look at samples of A-winning assignments. They are free.
GraceJordan · 76 weeks and 4 days ago
Hi, very interesting post. This is really great stuff. Thank you for sharing. GHD Sports for Android
GHDSPORTS · 74 weeks and 6 days ago
Great article! word to pdf help me so much
emmajoe · 72 weeks and 2 days ago
rubbish removal UK
saeed20 · 72 weeks and 1 day ago
great content! will recommend this site to my friends
looneyhans · 65 weeks and 1 day ago
thanks for this learned alot sandblastingtulsaok.com
looneyhans · 60 weeks and 4 days ago
very impressive! weddingphotographerspalmsprings.com
Killersmile · 60 weeks and 1 day ago
This is really great stuff word unscrambler
minayang · 58 weeks and 4 days ago
wow never knew about this before, thanks for sharing! laser hair removal
idasanka · 55 weeks and 6 days ago
house cleaning tyler tx How can I get more infos about that products
yeoyeo · 54 weeks and 2 days ago
thank you for this! really appreciate you doing this pray
sammm · 51 weeks and 1 day ago
Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Leads
seomind12 · 47 weeks and 5 days ago
I love the way you write and share your niche! Very interesting and different! Keep it coming! PVC ramen en deuren
seomind12 · 47 weeks and 5 days ago
Thumbs up guys your doing a really good job. Website laten maken
seomind12 · 47 weeks and 5 days ago
I will be interested in more similar topics. i see you got really very useful topics , i will be always checking your blog thanks Ramen en deuren
seomind12 · 47 weeks and 5 days ago
Wow what a Great Information about World Day its exceptionally pleasant educational post. a debt of gratitude is in order for the post. Zonnepanelen kopen
seomind12 · 47 weeks and 5 days ago
This was among the best posts and episode from your team it let me learn many new things. Vakantiehuis
seomind12 · 47 weeks and 5 days ago
You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog. Beste zonnepanelen
seomind12 · 47 weeks and 5 days ago
Your music is amazing. You have some very talented artists. I wish you the best of success. Aluminium ramen en deuren
seomind12 · 47 weeks and 5 days ago
Wow what a Great Information about World Day its exceptionally pleasant educational post. a debt of gratitude is in order for the post. Webdesigner
seomind12 · 47 weeks and 5 days ago
Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Zonnepanelen kopen
seomind12 · 47 weeks and 5 days ago
Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution. www.myprepaidcenter.com
Richlandd · 46 weeks and 3 days ago
Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution. www.myprepaidcenter.com
Richlandd · 46 weeks and 3 days ago
I got lost good thing I found this site! hearing aids sioux falls
aegyjingoo · 42 weeks and 1 day ago
I've lost my dearest best friend..we were so close and just because of a mistake i made i can't talk to her, i can't listen to her problems anymore, can't help her, can't tell her how much i loved and still love her, i just wish I could go back in time and apologise...but it's too late, she just- disappeared.. [unblocked games](https://unblocked-gamesez.com)
kavontoy · 31 weeks and 4 days ago
This reminds of me when I had friends that cared and had great life but then we moved and everything went downhill I got bullied, nobody cared, everyone thought I was a useless and an idiot. I miss my old friends and I would do anything to see them again. But now I life so far away and my parents refuse to take me there. Anyways have a good day/ night. unblocked games
kavontoy · 31 weeks and 4 days ago
Heya i am for the first time here. I came across this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you helped me. http://besttemplatetuning.com/2021/06/30/baccarat-casino-match-learning-the-fundamentals/">Baccarat Casino Match
robinjack · 28 weeks and 6 days ago
I got what you intend, appreciate it for posting .Woh I am lucky to find this website through google. nembutal kaufen ohne rezept
robinjack · 23 weeks and 6 days ago
This may be the proper blog for anybody who desires to check out this topic. You already know much its nearly challenging to argue with you (not that I personally would want…HaHa). You certainly put a different spin over a topic thats been discussing for a long time. Wonderful stuff, just wonderful! flex desk
robinjack · 20 weeks and 5 days ago
The new pot rules have literally stirred up the pot. There are people like Hezekiah Allen, executive director of the California Growers Association, who appear to be unhappy, as the rule allegedly favors big businesses. According to him, they could have "as many licenses as they could afford," which would threaten the existence of small farms. While most of the regulations have been made to ensure that the youth below the age of 21 are not drawn into the vicious cycle of abuse, others such as capping on cultivation remain ambiguous. order weed online usa
robinjack · 20 weeks ago
There are a handful of fascinating points at some point in this article but I don’t know if these center to heart. There’s some validity but I’m going to take hold opinion until I consider it further. Great article , thanks and then we want far more! Combined with FeedBurner likewise http://69.195.78.97/login/">sbobet88
robinjack · 19 weeks and 1 day ago
Does your site have a contact page? I’m having trouble locating it but, I’d like to shoot you an e-mail. I’ve got some suggestions for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it develop over time. vintage workwear
robinjack · 18 weeks and 6 days ago
Mooi Residences by WENUL HL PTE LTD . Freehold Luxury Condo. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More Mooi Residences Showflat
robinjack · 17 weeks and 6 days ago
There are many posts on the market near this, I do believe taking there reference could experience made this spot or article really informative. Practical goal expression this post is unhealthy. Simply I must pronounce that the info provided here was unique, merely so it will be more in close proximity to complete, supporting to former information will receive been actually good. The points you have touched here are vital, thus I am going to spot many of the information here to create this actually best for entirely the newbie’s here. Thank you for this info. Actually helpful! atelier showflat
robinjack · 15 weeks ago
Useful info. Lucky me I discovered your website unintentionally, and I am surprised why this accident did not happened in advance! I bookmarked it. addiction treatment center in New Jersey
robinjack · 14 weeks and 5 days ago
One recent drug user came to an online think tank demanding that drugs be legalized and came prepared to backup his suggestion as he stated:. buy marijuana uk
robinjack · 13 weeks and 1 day ago
Youre so cool! I dont suppose Ive read anything in this way just before. So nice to uncover somebody by original applying for grants this subject. realy i appreciate you for beginning this up. this fabulous website is something that is needed on the web, a person with a bit of originality. helpful project for bringing something totally new for the world wide web! Marble Tile
robinjack · 10 weeks ago
Hello just wanted to give you a quick heads up. The text in your article seem to be running off the screen in Internet explorer. I’m not sure if this is a format issue or something to do with browser compatibility but I figured I’d post to let you know. The design and style look great though! Hope you get the issue fixed soon. Kudos this website
yousuf · 7 weeks and 6 days ago
Hello there, just became alert to your blog through Google, and found that it’s really informative. I¡¦m going to watch out for brussels. I¡¦ll be grateful if you continue this in future. Lots of people will be benefited from your writing. Cheers! san francisco medicinal marijuana
yousuf · 6 weeks and 3 days ago
Buy Psychedelics Online in USA here at your favorite psychedelics shop. Welcome to the BuyPsychedelicsUSA, The place for all your psychedelic drug and herbs. You’re at the right place to receive new experiences, insights, experiences. BuyPsychedelicsUSA has a large collection of products such as DMT, Magic Mushroom ,LSD , kratom, Ayahuasca and more . buy psychedelics online Take the time to see everything and don’t hesitate to contact us if you have questions or for advice. buy legal psychedelics online is usa uk and australia. buy dmt online buy lsd online buy ayahuasca online ibogaine for sale mdma for sale buy kratom online buy mescaline online buy mushroom online buy psychedelics online usa 4 ACO DMT For Sale Buy 5 MEO DMT Online buy dmt online NN DMT Erowid For Sale dmt vape pens for sale Changa DMT buy lsd gel tabs liquid lsd for sale buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale dmt dose how to smoke dmt whats dmt making dmt 4aco dmt smooking dmt mushroom edibles magic mushroom chocolate how to make dmt how long does dmt last buy magic mushrooms online stiiizy pods buy magic mushrooms online Psychedelic Magic Mushrooms For Sale Online Where Can I get Psilocybin Mushroom Online What Are Psilocybins Mushroom buy magic mushrooms online shop dry magic mushroom buy mushroom capsules online shop psilocybin magic mushroom buy magic mushroom edibles buy thc carts online buy thc carts online THC Vapes Carts For Sale Buy Prefilled Vape Cartridges THC Vape Pens For Sale Best THC Vape Cartridge buy dmt online buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale https://thcbulksupplies.com buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy weed online usa buy weed online Weed For Sale Online in USA where to buy weed online Buying Weed Online Where To Buy Weed Online in USA Buy magic mushrooms Buy nembutal Online 4 aco dmt australia 4 aco dmt buy usa 4 aco dmt for sale 4 aco dmt supplier 4 aco dmt uk 5 meo dmt buy 5 meo dmt where to buy acid blotter paper ayahuasca tea canada Ayahuasca tea for sale buy 5 meo dmt Canada buy 5 meo dmt online Buy ayahuasca tea online Buy DMT Buy DMT online Buy DMT online Canada buy dmt online usa buy dmt vape pen buy liquid lsd Buy lsd Buy LSD acid Buy LSD Gel Tabs online buy lsd online buy LSD tabs online buy lysergic acid DMT for sale dmt pen dmt vape DMT Vape Pen DMT vape pen for sale online dmt vape pens DMT Vape Cartridge LSD acid for sale LSD blotter paper for sale LSD blotter sale lsd blotters for sale lsd for sale lsd for sale online lsd gel tabs lsd tabs for sale lysergic acid for sale Order ayahuasca tea online purchase ayahuasca tea Where can I buy 5-MeO-DMT online Where can I buy ayahuasca tea a href="https://thcbulksupplies.com/"rel="dofollow">buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy marijuana edibles online smart bud moon rocks for sale buy cbd oil online dank vapes for sale order brass knuckles online stiiizy pod exotic carts moon rocks drugs buying weed online acdc weed granddaddy purple near me buy new york city diesel grape god strain buy 30 cannabis fat burner capsules buy marijuana flowers online buy sun rocks online buy red congolese live resin online buy pre-rolled joints online buy real weed onlin cheape buy sour diesel online mail order weed order marijuana online weed for sale pineapple punch strain backwood preroll where can i buy weed online buy weed online usa tko carts order weed online buy medical weed online buy weed online usa buy legal weed online where can i buy weed online can you buy weed online order marijuana online marathon-og buy psychedelics online in usa buy weed online in usa
snupdablogger · 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: