Script To Clean Up Aptana Temporary Files In Ubuntu

Share

Sometime you might get irritating with the amount of temporary files appearing in all your project when code using Aptana IDE but here a bash script that can help you automatically remove those temporary file without much hassle.

> cd /bin
> sudo vi cleanAptana

Then paste the following script

find . -type f -name ".tmp*" -exec rm -f {} \;

You might also need to change the chmod first before using the script

> sudo chmod 0777 cleanAptana

To execute the command.

> cd /var/www/myproject
> cleanAptana