Created
May 21, 2014 02:33
-
-
Save ailourophile/5927f2d232fe1f032ec9 to your computer and use it in GitHub Desktop.
copy site nmap files to its dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | grep -oP '(?<=^disc\-).*(?=\.lst)' | awk '{system("cp *"$1".* " $1)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment