Answer the question
In order to leave comments, you need to log in
Linux script error. Why?
Good afternoon. 2 questions. 1. Why the error? 2. How to make a curl request occur when mv f is executed? Thanks
#!/bin/bash
#239
find . -name '*72762*' -exec sh -c 'x="{}"; mv "$x" "239.pdf"' \;
Error:
find: missing argument to '-exec'
Answer the question
In order to leave comments, you need to log in
My assumption above in the comment turned out to be correct. Do this:
dos2unix billing.sh
$(curl ....)
Better yet, write what you wanted to do, but somehow it all looks crooked
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question