1
vote
2answers
457 views

How to create a random .txt(Human readable text like ascii) file in linux

I need to create a text file which should contain random text data that can be read by human. I know that we can use /dev/urandom and /dev/random for getting random data. But it is not readable by ...
1
vote
3answers
1k views

How to reverse text file in Windows

Please help me, how reverse/sort row in text file with batch in Windows? Example: I have text in this format 15/04/2013-07:10:30 lalala 15/04/2013-07:10:30 Text text 15/04/2013-07:10:30 1 lala ...
2
votes
2answers
3k views

Trying to read a text file content and set variables values from that

I have a batch file that creates a text file with its output like the following: RESULT=0&SECURETOKEN=SmH3kciXiVkiwD0i70CwKYgAR&SECURETOKENID=2013031414280240&RESPMSG=Approved The ...
0
votes
2answers
189 views

Replace Array Of Characters With Another Character With In Text File?

Is there any tool to replace some characters with another one but at once , i mean for example i have text file like this : .>+&5+B0"0,9,04A?@"56/!3 Replace each of this character with ...
2
votes
1answer
929 views

Is there a way to save the file listing from a Windows file search to a text file?

Is there a way to save the file listing from a Windows search to a text file? I have had to search from My Computer over 6 drives for a file spec. I can't believe that there is no way to save the ...
0
votes
2answers
164 views

Filter Entries in a Large Text File Based on Whitelist

Good day. I could really use your help on this one. I have a stats text file in the following format. ID=1000000 Name=Name1 Field1=Value1 ...(Fields 2 to 25) Field26=Value26 ID=1000001 ...
3
votes
1answer
314 views

Convert pdf to text ignoring structure

I am looking for a tool that can batch convert pdf to text I don't want the tool to try maintain any sort of structure just print line by line with spaces between words. All tools I have encountered ...
0
votes
1answer
2k views

Importing Bookmarks from a Text File (to any browser/website)

I have dozens of text files containing around 60 url's each, accumulated over years of browsing on multiple computers. I wish to import these into any browser, to allow me to then use cross-browser ...
3
votes
3answers
2k views

How can I insert a line in the middle of a file, with awk, given a search pattern to insert AFTER or BEFORE

I want to insert some text in the middle of a file. The text to insert would be after a specific line, say, "<begin>". I don't know the line number, nor do I know the number of lines in the text ...
4
votes
3answers
6k views

Combining multiple text files into one big one

Hi I will be working with multiple text files with my friends. I need something that will combine multiple text files into a master file. The method I am after is something that is simple and will ...
1
vote
6answers
682 views

Best way to manually sort random text files?

I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can ...
0
votes
6answers
2k views

A better way to search for a string within a file?

I am trying to find a particular string of text in a file somewhere on my hard drive. The best I have come up with so far is: find -type f / | xargs cat | grep "string to find" But this just tells ...