|
I am writing a "Total Commander" like application in Java. There is quite obvious file system dependency here.
I want to unit test it. I created directory structure for test purposes, I keep it in known location in SVN repository. It works great so far...
Started by Ula Krukar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You to know on what platform....
As for storing hidden files in SVN, I second artemb.
Would be simple:
create a directory put some hidden and visible files into it test tear down, but this allow you to reduce dependency on it.
|
|
This question discusses the possibility of a virus setting the show hidden files values to true. Why would a virus do this? I would think it would want to make itself a hidden file then always set show hidden files to false.
Started by indyK1ng on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
They could interpret these new files as part of the virus on the....
Trying to hide it's files, but showing hidden filesWell it would show system files, which a user is not used to seeing.
Sloppy coding.
To deter their removal.
|
|
I often use SCP to copy files around - particularly web-related files. The problem is that whenever I do this, I can't get my command to copy hidden files (eg, .htaccess).
I typically invoke this:
scp -rp src/ user@server:dest/
This doesn't copy hidden...
Answer Snippets (Read the full thread at serverfault):
It'....
The / at the end of the source:dest/
This will create a directory 'src' under 'dest' on the remote machine, with all the hidden files included.
Manual page is worth reading.)
That should absolutely match hidden files.
|
Ask your Facebook Friends
|
I would like to know how to programmatically hide a file but making the file or folder still hidden with Show hidden files and folders enabled from the Tools->Folder options of Explorer.
I hope I am not confusing anyone and if I might be please just...
Started by Victor43 on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
But since you have to ask to....
Use a file system filter driver.
Even Windows system files are visible.
FILE_ATTRIBUTE_HIDDEN);
As for keeping a file hidden from the "show hidden files" option).
|
|
Is there an easy way to recursively copy all hidden files in a directory to another directory? I would like to back up just all the settings files in a home directory, not the normal files. I tried:
cp -R .* directory
but it recognizes . and .. and recursively...
Started by Zifre on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Other pattern matches are available ( .??* , .[^.]* ) - see the comments
I've always used .??* to find hidden files without which hosts the settings ....
To have a hidden file that doesn't start with one of those characters.
|
|
I need to keep in sync a very large directory structure (a few hundreds GB) between a Windows machine and a Linux machine. I'm using rsync to do the copy because it automatically ignores unchanged files and is more effective at copying changed files (...
Started by Guss on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
You can put this list in a file and then useI don't believe rsync has any insight into which files are marked "Hidden" on the Windows fileshare a file ....
Of the hidden files in your mounted Windows filesystem.
|
|
I'm looking for a regex to match every file begining with a "." in a directory.
I'm using CMake (from CMake doc : "CMake expects regular expressions, not globs") and want to ignore every file begining with a dot (hidden files) BUT "\..*" or "^\..*" doesn...
Started by claferri on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Open a file "test.cmake" and add the following:
file(GLOB ALL "*") file(GLOB DOT ".*") file(GLOB NOTDOT "[^.]*") message("All Files ....
Try this.
^\..*
Try this:
^[.].*
Sounds like GLOB is probably what you want .
|
|
I have some code that effectively does this :
File file = new File("C:\\Program Files (x86)\\Something\\fred.txt"); System.out.println("file.canWrite() = " + file.canWrite());
It prints true. Now the odd thing is, I can create the file without any exceptions...
Started by nevster on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You should find your file in C:\Users\<username>\AppData\Local\VirtualStore\<insert>\<expected>\<path>\<here>.
Files is redirected to somewhere else when you're not running the program as an administrator.
|
|
You know how Subversion stores a copy of every file it has checked-out in the hidden .svn folders? The website I'm building is pretty big (has over 1Gig of PDF files). These PDF files will very rarely change throughout the existence of the website.
I ...
Started by Luke on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Your workflow could be like this:
Edit ....
This would completely avoid the problem of large files in .svn folders.
If it's in your working of a checkout.
These hidden PDF files in your working checkout, or in the server deployment.
|
|
Does anyone know how to delete all files in a directory with Ruby. My script works well when there are no hidden files but when there are (i.e .svn files) I cannot delete them and Ruby raises the Errno::ENOTEMPTY error. How do I do that ??
Thanks in advance...
Started by nash on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to delete all ....
The error suggest, that you are trying to delete a non empty directory .
It probably has nothing to do with the fact, that .svn is hidden.
Check out remove_dir in FileUtils.
Svn isn't a file, it's a directory.
|