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 strongm 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. jvbpro

    if test -e command doesn't work!

    Hi KerveR, thank you for your help.... but... I tried your code but it is NOT working. However, when I use -f to test for "one" file in particular, then it works. The script breaks when I try to test more than one file using wildcard "*". I was wondering if we could use -f...
  2. jvbpro

    if test -e command doesn't work!

    Please anyone help me here. I have the follwoing command in my scrip: if test -e c:/dir/file*.dat then echo whatever fi this is giving me some systax error on test! and I know for sure that I have files in that directory that meet that criteria. I checked it with na 'ls c:/dir/file*.dat'...
  3. jvbpro

    find command help.

    thank you all for your help.
  4. jvbpro

    find command help.

    Hi all, Does anyone know how to get all the file in a directory, but not in the subdirectory? I don't want to return any files that are in a subdirectory. Any help is appreciated. Thank you in advance. Jeya
  5. jvbpro

    Help needed with find and -exec command

    thank you all... but could be more descriptive with that find command that you just wrote? This is what I did though to get the things working... find . -name "*.exp" -exec newfilename.sh {} \; newfilename.sh will contain all the commands that I want to execute with each file...
  6. jvbpro

    Help needed with find and -exec command

    Thanks for your help. I have another question... DO you know how to pass each file found as a parameter into a variable so that I could use it into the -exec command? thank you again.
  7. jvbpro

    Help needed with find and -exec command

    Hi all Does anyone know how to use multiple -exec command in a find. I need to execute more than one command for each file found in the directory. eg. find . -name "*.txt" -exec something {}; -exec somethingelse {}; -exec...
  8. jvbpro

    Looping in Unix script.

    Hi All, I need some help with some looping in UNIX script... Here is my problem. E:/Transfer/LIMS/ folder is populated time to time with some .exp files that have the time stamp attached to their name (oracle export files eg. filename_yymmddhhmmss.exp.) My script should import the data, for...
  9. jvbpro

    Getting rid of ^H in emacs

    Hi all, Does anyone know how to get rid of the ^H from a file. I get this when I open a certain txt file in Emacs. Any help is appreciated. Thank in advance. jvb

Part and Inventory Search

Back
Top