Search Results

Search: Posts Made By: mattz40
2,108
Posted By Chubler_XL
This demo program might help you to your...
This demo program might help you to your solution:
dir1="holiday.jpg camping.jpg beach.jpg"
dir2="xmas.jpg holiday.jpg"

for FN in $dir1
do
found=0
for FO in $dir2
do
if...
2,108
Posted By Don Cragun
Hi Chubler_XL, Your example works fine for the...
Hi Chubler_XL,
Your example works fine for the example you've chosen, but, as mattz40 mentioned in post #4 in this thread, it won't work if one or more of the filenames in the lists in the...
2,108
Posted By bakunin
First off: you are getting along fine. We all had...
First off: you are getting along fine. We all had about the same issues you are experiencing right now when we learned our trade, so don't worry - keep trying and you will sure be giving the answers...
2,108
Posted By RudiC
Above won't work as the for loop won't supply...
Above won't work as the for loop won't supply file names but just the directory name. If complemented with /*, full path names would be supplied then. You'd have to either cd into the source dir, or...
2,108
Posted By vgersh99
-f ${dir2}/${file}
-f ${dir2}/${file}
Showing results 1 to 5 of 5

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