Search Results

Search: Posts Made By: imeadows
75,601
Posted By imeadows
Thanks, have knocked this script up, what do you...
Thanks, have knocked this script up, what do you think
#!/bin/bash
files="$(find /opt/efx/ian/original | xargs grep abcdef123 | cut -d ":" -f1 | uniq)"
echo $files
for X in $files
do
cp $X...
75,601
Posted By imeadows
Shell script to search for text in a file and copy file
Compete noob question....

I need a script to search through a directory and find files containing text string abcde1234 for example and then copy that file with that text string to another...
Showing results 1 to 2 of 2

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