Search Results

Search: Posts Made By: RudiC
6,393
Posted By RudiC
Good find, but: it will run 9 external commands...
Good find, but: it will run 9 external commands and thus use approx. the fivefold time, and, as is, it won't confine itself on .doc[x]? and .pdf files.
6,393
Posted By RudiC
That was not mentioned in your OP. Try find SRC...
That was not mentioned in your OP. Try
find SRC -iname "*.doc*" | while read FP; do FB="${FP%.*}"; [ ! -f "${FB/SRC/DST}.pdf" ] && echo "$FP"; done
SRC/D2/File6.doc
SRC/D2/File2.docx...
6,393
Posted By RudiC
Did you ever try to run that line? Try...
Did you ever try to run that line?


Try instead

cd SRC; for FN in *.doc*; do [ ! -f ../DST/${FN%.*}.pdf ] && echo $FN; done; cd ..
File2.docx
File6.doc
6,393
Posted By RudiC
Any attempts / ideas / thoughts form your side?
Any attempts / ideas / thoughts form your side?
Showing results 1 to 4 of 4

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