I got a problem I have bash script: #!/bin/bash cp -rf /home/listlux/www/temp2345/* /home/listlux/public_html/atlanta which is not doing copy and if I run that command separate in shell - its working. NEED YOUR HELP
I am coping all files from folder /home/listlux/www/temp2345/* to /home/listlux/public_htm/atlanta/ try with slash still nothing, looks like some kind of permission issue or something else
Are you running it from root? If not, try adding this: /bin/cp -rf /home/listlux/www/temp2345/* /home/listlux/public_html/atlanta
Please simply add this line and try: cp -rf /home/listlux/www/temp2345/* /home/listlux/public_html/atlanta/
I try to put #!/bin/bash set -x /usr/bin/cp -rf /home/listlux/www/temp2345/* /home/listlux/public_html/atlanta and this one is not working as well
THANK YOU VERY MUCH EVERYBODY problem was on my side , dont laugh too much, but I was doing changes in one file and was running another one to test, actually same file name just in different folders very sorry about that