I have set of temp files created in my folder with .bak extensions. How can I make them hide by default in Ubuntu?
I tried adding a .hidden file with *.bak as entry in the file, but that is not working. Any help is very appreciated...
|
I have set of temp files created in my folder with I tried adding a .hidden file with *.bak as entry in the file, but that is not working. Any help is very appreciated... |
|||||||
|
|
I found this post (ubuntu forums). I hope this can help you. http://ubuntuforums.org/showthread.php?t=789684 |
|||
|
|
|
If you place a full stop (or period) at the beginning of the name of the file it should hide it, for example: .helloworld.txt To view your now hidden file, click "view" on Nautilus then check "Show Hidden Files". |
|||||
|
|
If the program and you don't care about the name of the file try this "script"
then run it whenever you're annoyed by the .baks. It moves every file named bla.bak to .bla.bak . If you have to do it very often just
then you can just type deannoy in your Dropbox folder and they're gone. Edited according to the "Bash Pitfalls" comment. |
|||||
|
|
You could also create a file called .hidden in your home directory. Then in this file you can put the names of all the files that you would like to be hidden. One per line. Thanks Chris |
|||
|
|
|
Here's a little script I wrote for hiding LaTeX intermediate files:
I added it to the ~/.bash_aliases file, so now I just This is intended to be executed at specific folders, but you could make it more generic (e.g. for .bak files) and change it to perform the task recursively, adding a .hidden file to each folder, but that's a little more complicated. |
||||
|
|