Thanks in advance for your help. Could someone correct my bash shell command?
I am trying to delete some unneeded files that contain ".sized.jpg" in their name. The files are stored in a number of directories in my home directory. I searched the web and found a promising approach that suggests:
Code:
find / -name core -exec rm -f {} ;
I tried to adapt the command to my purpose using the following bash shell command:
Code:
find /home/user/web_photos/ -name "*.sized.jpg" -exec rm -f {} ;
I get the error message: find: missing argument to `-exec'