Message by Ignacio Rocca:
Hi all,
I am trying to delete the $py.class files with the clean.sh file in Linux 32 bits (Kubuntu 9.1), when I run the script, this error appear.
rm: opción incorrecta ‘2’
Pruebe rm </strike>help' para más información. rm: falta un operando Pruebe
rm --help’ para más información.
rm: no se puede borrar «./SPIS_4_0_00_LINUX_X32/Doc/DocSpisNum/HowTo/Modelling»: No existe el fichero ó directorio
rm: no se puede borrar «charging»: No existe el fichero ó directorio
rm: no se puede borrar «in»: No existe el fichero ó directorio
rm: no se puede borrar «GEO_fichiers/image003.jpg»: No existe el fichero ó directorio
rm: no se puede borrar «*.mpg»: No existe el fichero ó directorio
rm: no se puede borrar «*/*.mpg»: No existe el fichero ó directorio
rm: no se puede borrar «*/*/*.mpg»: No existe el fichero ó directorio
rm: no se puede borrar «*/*/*/*.mpg»: No existe el fichero ó directorio
rm: no se puede borrar «volMeshOut.uvm»: No existe el fichero ó directorio
rm: no se puede borrar «globalParOut.gp»: No existe el fichero ó directorio
Someone ran this script and couldn’t erase the files?
Bests
Ignacio
Message by julien:
Dear Ignacio,
The clean.sh is a very very poor sh script (shame on me) for the development phase only, wihtout any control if files exist or not before to try to remove them. Don’t care about the errors. It will clean the $py.class files anyway.
If you want to avoid the error messages (or keep the mpg or other images files), just remove the corresponding lines in it.
The best will be to have a Ant based file to clean-up this. We are thinking about it for the next releases, but this is not done yet. if someone of the community is volunteer…
Best,
Julien Forest
(Artenum’s crew).