Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: cmccabe
1,437
Posted By cmccabe
Thank you both :).
Thank you both :).
1,437
Posted By cmccabe
If any of the below are in $dir then File found...
If any of the below are in $dir then File found was found, moving on.


fileone.csv
fileOne.csv
Fileone.csv
FileOne.csv


If none of those or alike exist, it will echo "File was found and...
1,437
Posted By cmccabe
If file pattern exists in directory then continue
he below looks in $dir for any pattern of fileone. As is, it executes but only returns File found if the exact format in the script exsists. Why isn't a pattern of fileone being looked for and if it...
Showing results 1 to 3 of 3

 

Featured Tech Videos

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