I got help in another forum but now I need further help so I figured I'd ask here. I had to write a script to delete certain filenames of certain size. I got this far..
find . -size 110c -name "*testing*" -print | xargs -n 1 rm -i
It finds the correct files, but the prompts to delete are all bunched up on one line. looks like:
rm: Remove ./file.testing.2007? rm: Remove ./file.testing2.2007(flashing prompt and when I enter y or n I get "ksh: y: not found")
Can someone show me how to individually prompt for file removal after it finds what I'm looking for in the directory?