Monday, January 25, 2010


xargs:
find / -iname "*.mp3" -type f | xargs -I '{}' mv {} /mnt/mp3
find . -name C*.log | grep -e str1 -e str2 | grep -v str3 | xargs /usr/xpg4/bin/grep -e "35=D"


exec:
find / -iname "*.mp3" -exec mv {} /mnt/mp3 \;

Posted by Posted by WL at 11:41 AM
Categories:

 

0 comments:

 
>