Search Results

Search: Posts Made By: patricio181
10,340
Posted By frank_rizzo
use the -exec option to find. find . -type f...
use the -exec option to find.

find . -type f -name "VPN_CALLRECORD_20130422*" -exec cp -v "{}" /home/sysadm/patrick_temp/ \;
10,340
Posted By Corona688
Don't think xargs takes {} like that. find ....
Don't think xargs takes {} like that.

find . -name "VPN_CALLRECORD_20130422*" | while read FILE
do
echo cp "$FILE" /path/to/destination
done

Remove the echo once you've tested and...
Showing results 1 to 2 of 2

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