rejetto forum

how to hide a file in HFS

0 Members and 1 Guest are viewing this topic.

Offline ninjapimp

  • Occasional poster
  • *
    • Posts: 71
    • View Profile
for some reason, windows always makes a Thumbs.db file when i watch movies or pictures.
i've not figured out how to prevent this yet

i did a search and found this:
1.  In the HFS VFS gui right click on the shared folder
2.  Select 'Properties' then 'File Masks'
3.  In the 'Files Filter' column add the file extensions you want to share
    example - *.jpg  (if you have more than one, seperate the extensions with a ;)
    example - *.jpg;*.avi
4.  Click on Apply

but it does not work for me.
in file masks tab, i see Files Filter
so i put thumbs.db in this field. i apply

but now when i surf into the folder via web browser i get an odd behavior. when i try to list a folder that contains thumbs.db it asks me to save it.

the expected behavior is for it to not display.

am i missing something? did something vhange in the beta builds?
i tried putting *.db in other fields but no luck.

it seems putting *.db in any fields makes the folder unbrowseable or asks to save the thumbs.db file

any ideas?

thanks






Offline Wasserfloh

  • Occasional poster
  • *
    • Posts: 81
    • View Profile
If you do not want to disable the saving of the thumbnails in Windows (Folder Options > View):
Menu > Virtual Filesystem > [_] List files with <hidden> attribute
Menu > Virtual Filesystem > [_] List files with <system> attribute
« Last Edit: January 10, 2010, 09:42:28 AM by Wasserfloh »


Offline Roessi

  • Tireless poster
  • ****
    • Posts: 107
    • View Profile
for some reason, windows always makes a Thumbs.db file when i watch movies or pictures.
i've not figured out how to prevent this yet

i did a search and found this:
1.  In the HFS VFS gui right click on the shared folder
2.  Select 'Properties' then 'File Masks'
3.  In the 'Files Filter' column add the file extensions you want to share
    example - *.jpg  (if you have more than one, seperate the extensions with a ;)
    example - *.jpg;*.avi
4.  Click on Apply

but it does not work for me.
in file masks tab, i see Files Filter
so i put thumbs.db in this field. i apply

but now when i surf into the folder via web browser i get an odd behavior. when i try to list a folder that contains thumbs.db it asks me to save it.

the expected behavior is for it to not display.

am i missing something? did something vhange in the beta builds?
i tried putting *.db in other fields but no luck.

it seems putting *.db in any fields makes the folder unbrowseable or asks to save the thumbs.db file

any ideas?

thanks







shouldnt it be \*.db or \thumbs.db

*.db would allow only db to be seen and the \ inverts it


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
that's right.
you are specifying what's passing, not what's blocked.
as ninja reported
"In the 'Files Filter' column add the file extensions you want to share"