Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rayarjun1

    Searching for specific files in a directory structure

    Hi ! Q1. I misunderstood you. Yeah.. I am giving input and output dir names. Q2 and 3 . Will be going through it ! Thanks again for the time. Aj
  2. rayarjun1

    Searching for specific files in a directory structure

    Hi Annihilannic , Thanks for your response . Q1. I was specifying two file extensions ( *.pdb.fixed and *.scwrl ) to search and run the stride program on. Is that what you wanted to know? Q2. how can I search something like abc_TS1 through this files and pass it as an if command on the script...
  3. rayarjun1

    Searching for specific files in a directory structure

    Q1. #!/usr/bin/perl -w $dir=$ARGV[0]; $outdir=$ARGV[1]; opendir(DIR,$dir); @files=readdir(DIR); foreach $file(@files) { # if($file=~/\.pdb\.fixed$/) if($file=~/\.scwrl$/) # if($file=~/\_TS*$/) { $strideoutfile="$outdir/$file.str"...

Part and Inventory Search

Back
Top