hidden-files

Creating and Moving an Invisible file with OS X 10.8 Terminal

两盒软妹~` 提交于 2019-12-13 04:28:54
问题 I'm fairly new to using the terminal, but have so far figured out through various forums how to hide a file from the Finder, but once hidden, I'm obviously unable to move it to the flash drive I want to keep it on, and I can't figure out any way hide the file after it's moved off of the internal drive. I'm using the command line: Computer-name:~ User$ chflags hidden /users/me/desktop/filename.txt How do I move the file once it's hidden, or how would I alter the command to hide the file after

vb.net runs gpg.exe step of job runs ok from PC but not from SQL Server Agent schedule

最后都变了- 提交于 2019-12-11 17:01:31
问题 Everything worked great from my Visual Studio on my PC running this from the Start button. When I build the executable and copied the executable to the production box and scheduled the job via SQL Server Agent on the production machine – everything worked fine to create the file, but the encryption bit does not work. The gpg.exe is here on the production server: \sql2014\c$\Program Files (x86)\GnuPG\bin The gpg is here on my PC: C:\Program Files (x86)\GnuPG\bin The filename.csv gets created

Does php scandir() exclude hidden files under Windows?

北城余情 提交于 2019-12-10 23:42:16
问题 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 the hidden flag set are excluded by PHP scandir() . There are some articles about the hidden files in Linux style, how scandir() should ignore files that start with a dot, but there is rarely no info about Windows files. 回答1: I have tried this code

unhide hidden files in unix with sed and mv commands

邮差的信 提交于 2019-12-10 16:59:03
问题 i wonder if u could help me with fixing bash script which should unhide all hiden files in dir. Where is the problem? param='.' for file in $param*; do mv $file $(echo $file | sed 's/^.\(.*\)/\1/') done exit 回答1: This for loop should work: export GLOBIGNORE=".:.." for file in .*; do mv -n "$file" "${file#.}" # mv -n "$file" "${file:1}" done PS: Better to backup your files before doing a mass mv/rename 回答2: @anubhava's answer works, but here's an amended, generalized solution for processing

create hidden txt file with vbs

半世苍凉 提交于 2019-12-08 01:12:42
问题 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 map" Set objFile = objFSO.CreateTextFile(outFile,True) objFile.Write "test line 1" & vbCrLf objFile.Write "test line 2" & vbCrLf objFile.Close CreateObject("WScript.Shell").Run("""C:\Users\User\Desktop\New map""") 回答1: You can set the attribute like

Creating Hidden File with Flex/AIR on Win

痴心易碎 提交于 2019-12-07 15:28:52
问题 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 it? Thank you in advance! 回答1: Cleaned up to better reflect where we are and will keep it updated: Based on info from: http://deepanjandas.wordpress.com/2010/09/10/writing-executing-cmd-scripts-through-air/ private var applicationDirectory:File;

How do I ignore hidden files (and files in hidden directories) with Boost Filesystem?

会有一股神秘感。 提交于 2019-12-06 23:19:00
问题 I am iterating through all files in a directory recursively using the following: try { for ( bf::recursive_directory_iterator end, dir("./"); dir != end; ++dir ) { const bf::path &p = dir->path(); if(bf::is_regular_file(p)) { std::cout << "File found: " << p.string() << std::endl; } } } catch (const bf::filesystem_error& ex) { std::cerr << ex.what() << '\n'; } But this includes hidden files and files in hidden directories. How do I filter out these files? If needed I can limit myself to

create hidden txt file with vbs

佐手、 提交于 2019-12-06 07:17:26
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 map" Set objFile = objFSO.CreateTextFile(outFile,True) objFile.Write "test line 1" & vbCrLf objFile.Write "test line 2" & vbCrLf objFile.Close CreateObject("WScript.Shell").Run("""C:\Users\User\Desktop\New map""") You can set the attribute like this Const cHidden = 2 Set objFSO = CreateObject("Scripting.FileSystemObject") outFile = "C:\Users\User

Appengine - Deployment of hidden folder

ⅰ亾dé卋堺 提交于 2019-12-05 15:47:25
To verify a SSL certificate, I need to upload a hidden folder ("/.well-known" containing some files to my application. I am deploying java application with eclipse, but these files do not receive at the application on appengine. I guess they are filtered out. I tried to add the hidden folder as static file to the appengine-web.xml, but it did not help. <!-- Configure serving/caching of GWT files --> <static-files> <include path="**" /> <include path=".**" /> <include path="**.*" expiration="0s" /> <include path="**.well-known" expiration="0s" /> <include path="**.nocache.*" expiration="0s" />

How do I ignore hidden files (and files in hidden directories) with Boost Filesystem?

﹥>﹥吖頭↗ 提交于 2019-12-05 03:31:10
I am iterating through all files in a directory recursively using the following: try { for ( bf::recursive_directory_iterator end, dir("./"); dir != end; ++dir ) { const bf::path &p = dir->path(); if(bf::is_regular_file(p)) { std::cout << "File found: " << p.string() << std::endl; } } } catch (const bf::filesystem_error& ex) { std::cerr << ex.what() << '\n'; } But this includes hidden files and files in hidden directories. How do I filter out these files? If needed I can limit myself to platforms where hidden files and directories begin with the '.' character. Unfortunately there doesn't seem