I would like to hide every .pyc file from Nautilus what could I do? I use Ubuntu 10.04.

link|improve this question

75% accept rate
It sounds like you're trying to solve a completely different problem which has nothing to do with hiding files at all. – Ignacio Vazquez-Abrams Oct 18 '10 at 17:32
"rm -r *.pyc" would "hide" all those pesky files and free up some space at the same time. Pity they'd reappear next time you ran the program. – Mokubai Oct 18 '10 at 17:32
feedback

2 Answers

up vote 1 down vote accepted

One option would be to not create these files at all. See this thread http://stackoverflow.com/questions/154443/how-to-avoid-pyc-files

You can also quickly delete these files from Nautilus by pressing ctrl+s, entering *.pyc pattern and hitting delete key.

link|improve this answer
Sounds very acceptable, thanks. – juanefren Oct 19 '10 at 17:00
feedback

You can add all the .pyc filenames to a .hidden file in the same directory. Requires some maintenance, but if you're like me you do a lot more modifying of existing files than creating new ones.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.