I'm trying to delete all the files contained in multiple folders.
I'm trying to have a code working like this:
#!/bin/sh
cd path1 rm -R *
cd path2 rm -R *
....
cd pathN rm -R *
But it doesn't seems to work. It's possible to use the cd for that?
Thanks