Answer the question
In order to leave comments, you need to log in
How to iterate recursively all files in a folder in a bash script?
Hello! Please help me write a .sh script that will recursively bypass the specified folder and perform an action on the file, something like this:
for f in $filesChanged
do
curl --ftp-create-dirs -T $f -u $FTP_USER:$FTP_PASS ftp://bourbonpursuit.com/$f
done
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question