Questions tagged [hidden-files]

A file that is normally not visible for the user, unless the user requires to show the hidden files. It is still accessible by name and path as any other file.

A file that is normally not visible for the user, unless the user requires to show the hidden files by turning a setting in file explorer or using additional switch with command line tools. It is still accessible by name and path as any other file.

Windows systems have a true hidden file attribute allowing to hide file having any name. Unix systems (like Linux) do not have such attribute and instead hides all files whose names start from dot (like .ssh). Unix command ls requires an -a switch to list such files and folders.

Hiding files may result more user friendly behavior but it is also a method to mask viruses and other exploits.

214 questions
2
votes
0 answers

How to scan hidden Audio/ Video files (starts with "." dot)?

I've tried many things for loading hidden media files in android and I've successfully loaded hidden files but the problem is how to get the additional details like audio file album, video file thumbnail, duration etc. I've seen the link below but…
Umer Khan
  • 486
  • 2
  • 11
2
votes
2 answers

Android - How to hide files inside the Internal/External storage?

I would like to make video/audio/pdf files hidden inside Internal/External storage in Android. Our requirement is making the files visible only in our Android application but not any other apps like Es File Explorer and not even when connecting the…
Rakesh L
  • 1,136
  • 4
  • 18
  • 44
2
votes
1 answer

How to include hidden files in python distutils?

My package has a hidden directory I want to distribute as package data. I include the following in distutils.setup(...): [...] package_data={'mypkg': ['.hg/*']}, [...] However this syntax does not work: when I run python setup.py install, the…
astabada
  • 1,029
  • 4
  • 13
  • 26
2
votes
0 answers

Windows using hidden file rather than directory in paths...Why?

I (and my colleague) are having this problem with 32-bit applications on a 64-bit Windows 7 OS. We have also found the same problems when we invoke a 64-bit application and pass a path as described below as a parameter in cmd.exe. Given the path…
Joanne McGraw
  • 49
  • 1
  • 3
2
votes
3 answers

Recursively list hidden files without ls, find or extendedglob

As an exercise I have set myself the task of recursively listing files using bash builtins. I particularly don't want to use ls or find and I would prefer not to use setopt extendedglob. The following appears to work but I cannot see how to extend…
Neville Hillyer
  • 354
  • 1
  • 10
2
votes
2 answers

Exclude hidden files from Zip download in php

I am using the following code in php to zip a folder and download all its files:
Riddhesh Sanghvi
  • 1,218
  • 1
  • 12
  • 22
2
votes
0 answers

setting hidden status in Mac with Python

To toggle the hidden status of a file on Mac OSX in python, I use the following code: st = os.stat(file_path) os.chflags(file_path, st.st_flags ^ stat.UF_HIDDEN) This works perfectly for "files" but does not work for "folders". Note that I am not…
Arash
  • 588
  • 1
  • 6
  • 16
2
votes
2 answers

Does php scandir() exclude hidden files under Windows?

On a Windows system, a backup agent created temporary hidden files of nearly the same name as the original files, and in the same path. This was probably disturbing a process that used PHP scandir(). Now I was wondering if files on Windows having…
peter_the_oak
  • 3,529
  • 3
  • 23
  • 37
2
votes
1 answer

Ignore Hidden files using regex

I have some line of code which retrieves all the files from one folder. But its also fetching hidden files. Can someone help me in modifying that regular expression so, that it won't retrieve hidden files? Find.find(actual_root) do |path| …
Shilpi Agrawal
  • 595
  • 3
  • 11
  • 26
2
votes
2 answers

Why is the "dir" command not showing me certain folders?

I used the dir command in the Windows command prompt to display the list of files/folders in a directory. I noticed that it did not display a folder named tmp. However, I tried running dir in Powershell, and it did display the tmp folder in the…
stonk-overflow
  • 442
  • 2
  • 10
  • 22
2
votes
0 answers

Why Intellij IDEA show my disk D: transparently?

I can not understand why IJ show my root disk D: transparently? It is hidden or something?
turbanoff
  • 2,439
  • 6
  • 42
  • 99
2
votes
1 answer

I want to know how to change "Folder Options" using a batch file

How to enable hiding and viewing system files "in general" using a batch file? I have researched on the net and found these results such as: ATTRIB -S -H RECORD.TXT But this is "specific" to a file... I want to know how to do this for the explorer.…
sinhalokaya
  • 21
  • 1
  • 2
2
votes
1 answer

Creating a hidden file in Common Lisp

Since hidden files on a Unix platform simply start with a period, it is trivial to create one using Common Lisp. Hidden files on Windows machines are defined differently. They have a file attribute that indicates whether they are hidden. How can one…
ElliotPenson
  • 354
  • 1
  • 10
2
votes
0 answers

SVN fails with hidden files

I am running subversion 1.6.17 on Ubuntu Server 14.04 and I cannot commit to the server if I add any hidden files. For example, attempting to commit with the file /lib/hammer.js-1.1.3/.jshintrc results in the following error: Transmitting file data…
Adam Meek
  • 21
  • 2
2
votes
1 answer

Possible to show some dot files in Mac OS?

I wanted to see the .htaccess files on my Mac (in the Finder). So I enabled the ShowAllFiles from the Terminal. defaults write com.apple.Finder AppleShowAllFiles YES It works like expected but the downside is that I'm seeing all the .DS_Store and…
Vallieres
  • 859
  • 7
  • 19