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
3
votes
1 answer

How to add a library from the system folders to an Xcode project?

For example, glfw for Max OS installed the library in /usr/local/lib/. Now I want to use it in an Xcode project. I can't seem to add it because Mac Finder has hidden that folder. How do I find it to add? Ideally how do I just paste in an arbitary…
justinhj
  • 11,147
  • 11
  • 58
  • 104
3
votes
0 answers

Is it possible to view Android hidden files/folders on Windows 10?

I have several hidden folders (prefixed with a dot '.') on my Android device and I would like to view them on my PC (Windows 10) when I plug it in via USB - is this possible?
blueprintchris
  • 1,053
  • 1
  • 16
  • 38
3
votes
1 answer

Distribute an Android library hidding the source code

I have created a library in Android and I would like to distribute it as a SDK. And I would like to show just one class as a public interface to the end-developers, hidding the rest of the classes of the SDK. Any help or guide would be appreciated.
GPortas
  • 81
  • 1
  • 6
3
votes
0 answers

c# truly H-I-D-E files

We know that by this code we can hide a file: File.SetAttributes(path, FileAttributes.Hidden); But the problem is that you can see these kind of hidden files by choosing "Show hidden files, folders, and drivers" in Folder Options in Windows Control…
Mohsen Nemati
  • 379
  • 1
  • 11
3
votes
8 answers

How to create hidden files in Linux?

In my program, I have to make a file hidden in order to avoid removal or modification of the file. PATH=/etc/ NAME = file Is there a function in C that will allow me to do that?
stack_A
  • 713
  • 4
  • 13
  • 21
3
votes
4 answers

How to create a hidden file in Bash

What is the bash command to create a hidden file. I want to name it .httName. I have tried googling for this, but none of the forums suggest any work around for this. I am simply looking for the command to solve my issue. If anyone happen to know…
Sharon Watinsan
  • 9,620
  • 31
  • 96
  • 140
3
votes
2 answers

How to show the hidden files and hide the shown files with ls?

To list files I use ls. I know how to list almost (-A) or all (-a) of them. But when I try to show the hidden files and hide the shown files I'm out of luck with: ls --hide='*' -A The behavior that the -A option neutralizes the --hide option is…
Tim Friske
  • 2,012
  • 1
  • 18
  • 28
3
votes
1 answer

Creating Hidden File with Flex/AIR on Win

how can I create a hidden file on my Win filesystem? I've read you should use native code and I know AS3 has got NaviteProcess class but I really don't know how to use it and I don't manage to find much about it. Is there anyone who knows how to do…
Andrea Silvestri
  • 1,082
  • 4
  • 14
  • 41
2
votes
5 answers

Mac shell script to hide/show hidden files

I'm very new to mac shell scripting, but I've written this to toggle hide/show hidden files on mac. (Then put on automator application) Is this a good solution? #!/bin/sh view=$(defaults read com.apple.finder AppleShowAllFiles) if [ "$view" = "1"…
Miro Barsocchi
  • 343
  • 1
  • 3
  • 15
2
votes
2 answers

Why doesn't this applescript seem to work as expected?

I'm writing a service using automator. It receives no input in any application. All it does is run this simple script: on run {input, parameters} --FIRST BLOCK tell application "System Events" set app_name to name of the first process…
romeovs
  • 5,785
  • 9
  • 43
  • 74
2
votes
0 answers

Is it possible to exclude hidden files when uploading a directory?

When a user selects a directory from which to upload all documents, it might contain hidden files created by windows like thumbs.db Is there any way of detecting, either on the front end or back end, whether a particular file was hidden? Currently…
Bassie
  • 9,529
  • 8
  • 68
  • 159
2
votes
1 answer

How do I make .gitignore and .swiftlint.yml visible in Xcode?

I've got a Swift Package I've created that has a .gitignore file and a .swiftlint.yml config file in it. They are in the repo. They are in the directory. I can drag and drop them into Xcode, but they don't appear in Xcode. If I do command-shift-. in…
Brian
  • 1,675
  • 3
  • 19
  • 29
2
votes
1 answer

How to print hidden files/folders list using NAnt script?

Current I try as below but that will skip all hidden files/folders. I want to see them. Please help if you know the trick! Thank you.
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
2
votes
2 answers

Exclude files listed in '.hidden' when using 'ls'

In my home folder, I have a file called '.hidden' in which I put the names of a few files and folders that I don't want to see in that directory. I can't change their names, ie: I can't put the dot '.' at the beginning. When I give 'ls' in a…
2
votes
1 answer

create hidden txt file with vbs

i currently have a vbscript that creates a txt file in a directory and opens it, but id like to make it so that the file is hidden, currtly i have this code: Set objFSO=CreateObject("Scripting.FileSystemObject") outFile="C:\Users\User\Desktop\New…
Madmagic
  • 65
  • 6