Naked Science Forum

Non Life Sciences => Geek Speak => Topic started by: Simulated on 04/06/2010 23:03:22

Title: How can I hide all of one file type?
Post by: Simulated on 04/06/2010 23:03:22
I have these annoying .modd and .moff files from a video editor and video organizer thingy that I want to hide. That way everytime I go into the folder to look for videos I don't see 2 useless files for every video.
I know how to hide one at a time. There has to be a way to do it on a massive scale.
Thanks in advance.
The long forgotten Simulated.
Title: How can I hide all of one file type?
Post by: Geezer on 05/06/2010 00:51:33
You could just sort the files in the folder according to "type" by clicking on the Type heading.
Title: How can I hide all of one file type?
Post by: Simulated on 05/06/2010 01:37:42
I've thought of that, but I have about 50 folders to do that to, plus any more video we add later
Title: How can I hide all of one file type?
Post by: michalkopyta on 21/06/2010 15:02:55
Are you using Windows or other operating system?
Title: How can I hide all of one file type?
Post by: nicephotog on 04/09/2010 07:10:55
Go to the top folder window of the set(in MS Win OS) and then its window menu and do - "tools" - "folder options" and click the box "do not show hidden files"
If the Windows control says "show hidden files" it only makes the list entries opaque.

Open the command prompt and replace of below C:\minigames with the top folder location.
replace *.map with *.moff e.t.c. for the required file type to hide
attrib +H C:\minigames\*.map /s

To show them again
attrib -H C:\minigames\*.map /s

=====

Linux MS-DOS "specific" command
mattrib -h -/ C:/minigames/*.map

In real Linux/Unix filesystem a hidden file is called a "dot file"
because it has a '.' on the front(prefix) of its name
Linux/Unix
cd /root/minigames
mv *.map .*.map

But you may need to go into each directory with the "shell prompt" to commit this or write
a .sh /bin/bash script for each directory similar to the command above.

ls -a -s /root/minigames will show the hidden files in the shell prompt, again though if your using an "x window manager" you need to set its hidden / hide files on the directory window menu and
refresh the view.