About
Pricing
Community
Teams
Start Free Trial
Log in
Thaidog
asked on
1/6/2013
Need to find and replace files without extension.
I have a bunch of text files in a directory that do not have the .txt extension... what is a god one liner to add the .txt extension to these files but if the files already have and extension of some sort omit those?
Linux
Shell Scripting
Regular Expressions
2
1
Last Comment
woolmilkporc
8/22/2022 - Mon
Member_2_6492660_1
1/6/2013
I found this
http://scofaq.aplawrence.com/FAQ_scotec1rename.html
Hope this helps
ASKER CERTIFIED SOLUTION
woolmilkporc
1/6/2013
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
http://scofaq.aplawrence.com/FAQ_scotec1rename.html
Hope this helps