PDA

View Full Version : [gnome] .hidden file and regex


walrus_t
July 8th, 2009, 03:56 PM
Hi everyone,
I use LaTeX and I have lots of *.aux, *.log files and I want to hide them in Nautilus. I know I can create a .hidden file but I have to manually add each file I want to hide... Can't I use regex to hide all *.aux files and all *.log files at once?
Thanks!

vikkikanhaua
July 8th, 2009, 04:58 PM
u can use ls *.aux *.log | tee -a .hidden

walrus_t
July 8th, 2009, 08:36 PM
Thanks a lot!
I didn't know the Linux command "tee" and I just discovered and undersood how it works! :) Linux rocks!