I am trying to copy all newer jpgs from one folder to another using the following command
cp -u --force /home/oldfolder/*.jpg /home/newfolder/
and I get the following promt:
cp: overwrite `/home/newfolder/4095-181.jpg'?
The '-u' I know is working fine as is it only prompting me on the newer files, but i dont want to get the prompt i just want it to overwrite them. I have tried --force and -f
Any suggestions?
Thanks in advance