RYU81 Posted September 14, 2005 Share Posted September 14, 2005 i have txt file with alot of links without begin http:// like this:photobucket.com/albums/a13/brfitzp1/th_01.gifand i want to add http:// to get this:http://photobucket.com/albums/a13/brfitzp1/th_01.gifis there easy way to do that without do it manual?? Link to comment Share on other sites More sharing options...
XPerties Posted September 15, 2005 Share Posted September 15, 2005 Open the text file up in any text editor and click on edit/replace and in the first box for replace type photobucket.com and the second box type http://www.photobucket.comAny item that is photobucket.com will turn into http://www.photobucket.com Link to comment Share on other sites More sharing options...
egrath Posted September 15, 2005 Share Posted September 15, 2005 Hi,i personally would use the Cygwin Tools to manipulate Text Files the way you need. Use a Bash Script like this:cat linkfile.txt | while read linedo echo http:\/\/${line} >> newfile.txtdone(get cygwin at www.cygwin.com)Egon Link to comment Share on other sites More sharing options...
XPerties Posted September 15, 2005 Share Posted September 15, 2005 LOL, that's a little more advanced than anyone needs to be on a txt file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now