FART, a simple utility GREP-LIKE for Windows
FART (Find and Replace Text utility) is free utility for Windows used by the command line.
E 'is very similar to the function "grep" Linux / Unix, because it allows for quick search inside entire directory in a recursive and to carry out operations to "find / replace" massive content of the files.
The use of FART is very simple:
fart [opzioni] filename-pattern stringa-da-ricercare [stringa-da-sostituire]
Among the many options available to the most interesting are, in my opinion, the following:
-
-ra recursive process in all subfolders -
-cprinting a video file names, the number of matches found and Total -
-inot search "case-sensitive" -
-Cinterprets backslashes "\" as characters in "C-style"
For example, if we have a folder containing the files downloaded in html format UNIX ( "\ n" as the character of new line) and we want them to adapt to Windows format ( "\ r \ n") we simply launch FART in this manner:
fart --c-style *.html \n \r\n
If instead we want to identify all files that contain a certain string (for example, the string "TODO"), highlighting the number of occurrences, launched FART goes like this:
fart -nr * TODO
Download FART or visit the official website.
Via Hackszine
Still no comment '
Comments RSS feed for this post. TrackBack URI
Leave a comment
Nothing2Hide © 2006 All rights reserved.
License | Disclaimer
- Social Web
- Send e-mail


































