Search Results

Search: Posts Made By: iguanathompson
4,097
Posted By iguanathompson
Who's the master now?
YOU ARE!

I looked at the script 700 times and couldn't see the "-f".

I took it out, the script runs PERFECTLY!!!

Thanks for your time.
4,097
Posted By iguanathompson
Why two different answers, then.
Okay, I've must have an lgc* directory somewhere.
I can't see it.

The question then is why does the script not return the same results as the single line commands?

#!/bin/bash -f
find...
4,097
Posted By iguanathompson
Asterik
The asterik is not the problem.

The original script output only found one set of files. (11.x)
And it put lgc* as the directory (not very helpful)

Why does running the commands 1 at a time...
4,097
Posted By iguanathompson
Sample of code output
The code was run in the same bash windows, once as a file and 11 times as commands pasted from the script into the command line.

#!/bin/bash -f
find /data/lgc*/basin_mas -name "1-S51*" -exec ls...
4,097
Posted By iguanathompson
Find script with input pattern file
Howdy:
I have a file with 140+ file name patterns. Each prefix can have dozens of files with different extension names.
e.g.
1-S51
1113-G6V
1117-G6V
1119-G6V
1127-G6V
12XW-AF5W
14-UA8N

I...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy