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 Shaun E 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: *

  • Users: bosoxer1
  • Content: Threads
  • Order by date
  1. bosoxer1

    Unix Find without searching subdirectories

    I am trying to search for all files with "*20*" in the file name, but this command keep searching subdirectories. I need to search only at the current level. find . -name "*.20*" -mtime +10; I have tried -prune, -depth, but still no luck. Any thoughts?
  2. bosoxer1

    How to TAR an entire directory

    Getting the following message on this: drwxr-xr-x 2 xxxxxxx xxxxxxxx 256 Oct 17 16:01 configtool tar -cvzf configtool.tar configtool tar: Not a recognized flag: z Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw] [-Number] [-fFile] [-bBlocks] [-S [Feet] [Feet @Density]...
  3. bosoxer1

    get current date - 30 days

    Need to create db2 where clause to het current day - 30 days, in the format of 2006051800 to compare against datetime field. 00 can be appended, I hope. Thanks in advance.
  4. bosoxer1

    How to get current date minus 30 days

    I have two options. Get unix current date -30 days, and feed that into a db2 where clause, or have the db2 where clause itself get current daye - 30 days, in the format of char 2006051800. 00 can be appended, I hope. Thanks in advance.
  5. bosoxer1

    How do I search a file for a string and report findings.

    I have log file that contains job names with start and end times. I have to search through the log to find "jobname started" and hold it, then search again for "jobname ended", and then report the jobname, start time, end time, elapsed time. I have 12 jobs to search for and report on, so that...
  6. bosoxer1

    How to find and delete row in file

    I currently use the below script to modify a file, but I have to find a string starting in postion 37, like "19012", and delete that row, and continue with the rest of the script. How do I NOT print that row out? 1==NR { print; next } NR>2 { print fix(line) } {line = $0} END { print line }...
  7. bosoxer1

    Where can I download an odbc for db2 driver?

    I have installed embaraderos rapid sql software, but I do not have an odbc driver for db2. Any suggestions on where to find one? If I do a search, I get all sorts of hits, but I just want the one driver, not a suite of drivers. Also, are there any free ones out there?
  8. bosoxer1

    replace space in column with another character sed/awk

    Hi, I have a batch file with a header and trailer record, with dataline records in the middle. I need to replace only the rows with a space in column 10 with the number 3, and not alter other rows, or the header and trailer. 99999123 ACCOUNT DATA Header 123456789012345678901234567890...

Part and Inventory Search

Back
Top