I know I’m being an idiot here… Where am I going wrong? is it neccicary to use sudo rm -f? and why is the *.cr2 not working?
tell application "System Events"
try
do shell script "rm /Users/splashretouch8/Pictures/SplashNW/Capture/*.cr2"
end try
end tell
Here is another approach:
Or