Thursday, November 13, 2008

3d Apartment Extreme Programa

FKLook - search keyword and copy the files

here's my new baby FKLook case of a bash script for Linux, allowing you to search for keywords in a directory full of files and copy all those that contain a directory of your choice , in order to have a repository of files selected by the keyword.

Test it!
hello
# / bin / bash / File # Keywords

searching tool by Nanni Bassetti http://www.nannibassetti.com - nannib@libero.it echo "############# ############################"
echo "FKLOOK - by Nanni Bassetti http://www.nannibassetti.com - nannib @ free . it "
echo "by this script you can search for a keyword in many files" echo "and it copies only the files those match with the keyword, in a separated directory you chose" echo "########################################" echo " "
echo "Write the output directory where you to save the files (eg. /media/myfiles):" read outdi
data=$(date Where You Want to the files looking for the keyword: "
read indir
echo" Write the keyword search: "
read key grep-i-aR $ key $ indir / *.*> $ outdir / fn filelist.txt
= "$ (cat $ outdir / filelist.txt CAINE CAINE



now has the Sleuthkit Autopsy and recompiled to image recognition and AFF EnCase format.

http://www.caine-live.net/page5/page5.html




0 comments:

Post a Comment