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
1
vote
1 answer

Make SQLite journal files hidden

I want to use SQLite with TRUNCATE journal mode (PRAGMA journal_mode = TRUNCATE), but I don't want all these -journal files to be visible to the normal users. I want them to behave like the .tmp files in Ms Word (hidden). Is there some way to make…
riot_starter
  • 1,218
  • 15
  • 28
1
vote
1 answer

Git adding hidden file, force doesn't work

I can't add the hidden file to git repo. Force (-f --force) does not help. This file is not included in .gitignore as well. It's silent (even with verbose flag) as the file is added, though it is not displayed in status, not actually added. File…
kmichael08
  • 81
  • 1
  • 8
1
vote
3 answers

Laravel 5.4 database connection

I have a problem with laravel 5.4 conection with database. I made changes in cofig/database file and when I try to migrate I recive 1045 error. > 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', '127.0.0.1'), …
mihighlo
  • 11
  • 2
1
vote
1 answer

Is there a way to save output from bash commands to a "file/variable" in bash without creating a file in your directory

I'm writing commands that do something like ./script > output.txt so that I can use the files in later scripts like ./script2 output.txt otherFile.txt > output2.txt. I remove them all at the end of the script, but when I'm testing certain things or…
Sam
  • 1,765
  • 11
  • 82
  • 176
1
vote
0 answers

.htaccess - block access to all hidden folders except specific folder

We have a .htaccess (which is based on the HTML5Boilerpate .htaccess) which contains a section which throws a 404 error for hidden folders. RewriteRule "(^|/)\." - [F] I would now like to allow access to a…
Prembo
  • 2,256
  • 2
  • 30
  • 50
1
vote
1 answer

How to exclude ".DS_Store" path when compressing files in Python

I have a python script that compresses specific files into a zip file. However I have noticed that a file ".DS_Store" is produced within this zip file. Is there a way I can remove this from the zip file or avoid it being created in the first place…
Catherine
  • 727
  • 2
  • 11
  • 30
1
vote
1 answer

PHP Hide sub-folders from SCANDIR

I'm using the jQuery FileTree plugin. The php connector uses scandir to get a folder's contents. After I upload images, my uploader script creates a "thumbs" folder, and then makes a thumbnail version of the image, and stores it there. Users will be…
TARKUS
  • 2,170
  • 5
  • 34
  • 52
1
vote
1 answer

Adding stuff into a hidden file

I'm trying to add a filename:filesfullpath into a hidden file, so every time the user runs the script and calls in a file, the file and full file path would be added into the hidden file, presented in the following…
Nabz
  • 126
  • 2
  • 13
1
vote
1 answer

RoR generated file - When did this happen?

Previously I had been using a different text editor and these .__new_example files were hidden. Obviously RoR generated some kind of hexadecimal code corresponding to my typed code. What are they conveying exactly and when do they get…
Scribbles
  • 63
  • 8
1
vote
1 answer

Delete hidden files from sever except .htaccess

A couple of days back, I noticed that my server has a almost 1000 plus hidden directories and files that are exact replicas. Let me give you an example. Level 1 Directory has the following sub-directories and…
ravichopra
  • 23
  • 4
1
vote
1 answer

OS X API to enumerate a folder including AppleDouble files (beginning with a "._")?

The following 4 NSFileManager API fail to enumerate AppleDouble files beginning with a "._" enumeratorAtPath, enumeratorAtURL, contentsOfDirectoryAtPath, contentsOfDirectoryAtURL Which API should be used to get them enumerated without fail?
Sree
  • 33
  • 1
  • 6
1
vote
0 answers

How to hide a file in public area of the iOS app

I need to remove file (file contains cert string) from package, which now is in public content. After exporting my app from iTunes I can see (using show package contents option) a lot of graphics files and a file which should not be availiable to…
Nizzre
  • 275
  • 1
  • 6
  • 14
1
vote
0 answers

How to unhide/otherwise access files invisible to windows

I have a very old application which I've moved from computer to computer over the years. I was probably running NT or maybe even Windows 95 when I got it. It still runs fine, but I recently tried to back up some of the files I created using it and…
Paul
  • 111
  • 1
1
vote
1 answer

QFileDialog showing hidden files although system setting is off

I am using the following code to show an open dialog in Qt: QString path = QFileDialog::getOpenFileName(this, tr("Open Config File"), QDir::rootPath(), "Text Files (*.txt *.csv *.*);;"); What I realised is that this dialog also shows hidden files…
bweber
  • 3,772
  • 3
  • 32
  • 57
1
vote
2 answers

Hiding Files in Windows

Currently, I'm developing a system which will extract some files from an SFX archive (files that will be used for another app). I want to make the extracted files hidden, so the person which has find the location of the exe couldn't get the files…
frbry
  • 365
  • 4
  • 23