ghacks Technology News

Grab Text from all Files in a Directory


The title of this article might be a little confusing at first glance. Why would someone want to scan files in a directory for certain strings and output them in a new file ? Few ideas come to my mind why this could be useful. Imagine that you were surfing a website with lots of images that you liked very much. You could download those images manually or use the software Win Text File Patch to scan all files in your browsers cache for a certain string and output them in a new file.

Afterwards you would import that new list in a download manager and download all images from there. Sounds easier ? It is, indeed. This is of course not only useful for file downloads but also for any other type of information found in files. Password lists come to my mind, proxy lists, any kind of list actually.

Win Text File Patch has a size of only 84K which is amazing if you consider what this application is doing. To work with the software you need to edit a few entries. You specify the source directory, the file types that you want scanned, a destination directory and file and of course the software should scan the files for.

The text part requires some knowledge of how the information are presented in the files. If you were looking for images for instance you would have to know that they begin with the html tag . It begins to get problematic if the website in question did use relative links and not absolute ones because of the missing url.

Win Text File Patch offers a way to replace the information that has been found which is exactly what we would need here. This can be a very useful software for several users.

Read More:

Win Text File Patch




Tags: , , , , ,
Categories: Operating Systems, Tools, Windows, software



Related posts:

Output Files And Folders To A Text Document
Locate text in files
Move all files from subdirectories into main directory
Browse all text files in a folder at once
Merge PDF Files
File and Directory Monitoring
Use antiword to extract text from .doc files
Windows Directory Analyzer

Trackbacks/Pingbacks

  1. [...] 原文链接。 I hope you enjoyed reading this post. You may now subscribe to my RSS Feed, scroll down to 留下评论 or get back to the homepage.   I recommend Giganews, the ultimate P2P alternative: Read here why [...]

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us