I see .copyarea.db files popping up in my ClearCase snapshot directories. I understand that deleting the file may cause some problems. How can I get rid of these files safely?
Hi,
Mercurial supports a handy archive command which allows you to export all files as they were in a specific revision (thanks to Ry4an for pointing this out in a comment) to another folder/zip file etc. This is done as follows:
hg archive -r REV destination
Is there a way to export only the files changed since a certain revision and to the head?
Thanks,
Boaz
I have a huge set of .vcproj files (~200) stored in different locations. I have a list of these files with full paths.
How can i automatically add them to the solution file(.sln) ?
UPD: I'm looking for existing tool/method.
Hi,
I need to define an appender for log4net in a way that I get one log file for each day, but the total number of files are limited to, let's say, 30. That is I want to keep only the logs not older then 30 days, delete the older ones.
I've tried doing it with RollingFileAppender, but it seems that specifying a limit of files to keep is not supported. Do you know of an alternative solution that I could use?
I know that some dll files have to be registered with the regsvr32 command. I tried that on a dll files I got and got an error message saying that "the entry-point DLLRegisterServer was not found." I heard that to use theis dll file you have to use "ctypes." So what are you supposed to do with it?
I am currently using:
c(module_name)
: to build my Erlang files ones by one, and I was wondering about how other people handle the build process for Erlang when they have multiple files
Hello,
I want to extract only the files inside a folder of a tar file
Example:
Contents of tar file:
/home/parent_dir/child_dir/
I want to extract only the files inside child_dir to another directory
Thanks,
SB
i use a treeView and a listView to display file and folders like Windows Explorer. Can anyone help me, how to get ICONs of files and folders to insert them before folders name or files name in treeView and listView?
Thanks in advance!
I have tried a few options, none of which seem to work (if I have a simple multipart form with a named field, it works well, but when I don't know the name I can't just grab all files in the request...).
I have looked at http://stackoverflow.com/questions/81451/upload-files-in-google-app-engine and it doesn't seem suitable (or to actually work, as someone mentioned the code snipped it untested).
I have CVS checkout files. I am trying to migrate into SVN repository keeping the history of CVS.How can I get the information for its migration from the CVS checkout files so that i can keep track of CVS repository?
I am programming in c++ MFC,
I want to get "C:\windows" "c:\program files" folder path.
Sometimes user may setup windows in other folder such as c:\windows0.
Is there any API to get absolute path of the windows and program files path?
Many thanks!
It traverses to bottom dirs for some unknown reason:
Errorsome
/bin/sh: .??*: not found
make[23]: Entering directory `/m/user/files/dir'
make clean
Makefile
all:
make clean
#The wildcard is the bug. I want to make all hidden files in the current makefile.
#It should match .<some char><some char><any char arbitrary times>
make $$(.??*)
#I want to replace below-like-tihngs with a wildcard above
# make .lambda
# make .lambda_t
clean:
-rm .??*
.lambda:
#do something
.lambda_t:
Is there a way to , when doing
git commit
to not display the untracked files in my $EDITOR?
I know how to do so in the shell, using git status -u no, but I'd like do it in $EDITOR as well
EDIT: I should have stated, I do not want to ignore these files forever, just not see them on certain occasions...
In my src folder there is another folder called data which contains data1.txt and data2.txt. The application loads a graph from these files in the initialization so I want to include these files in my final jar. I use ant to produce the jar file.
Whenever i perform a file search in eclipse, it scans all files including .svn-base file.
Provided i am using * for file name patterns.
Is it possible to scan all files for searching but skipping the .svn-base file?
There is a master subversion repository that I've cloned a git repo from. I've got a lot of ignored files in my .gitignore that I'd like the svn repository to know about.
I know that I can use git svn show-ignored to pull the ignored list from subversion, but how can I do the reverse? Send a list of files to be ignored back to the svn repo?
Git version (and git-svn is at the same version):
git --version
git version 1.7.0.5
I commited a lot of files locally (including binary files removing & adding...) and now when I try to push it takes a lot of time. Actually I messed up my local repo history.
How could I avoid this mistake in the future ? Can I transform a set of local revision 1-2-3-4 to 1-2 with 2 being the final revision of the local clone ?
Let's assume that I have files a.cpp b.cpp and file c.h. Both of the cpp files include the c.h file. The header file contains a bunch of const int definitions and when I compile them I get no errors and yet I can access those const as if they were global variables. So the question, why don't I get any compilation errors if I have multiple const definitions as well as these const int's having global-like scope?
I want to search my filesystem for any files with the extension .template.
The below works fine for everything except .htaccess.template
FileList.new(File.join(root, '**', '*.template')).each do |file|
# do stuff with file
end
because windows doesn't like nameless files, grrrr
How do I make this work on Windows? This code works fine on Linux....
My first day using this IDE...
is there a way to configure the IDE to open files in the project by double click? It is rather painful having to drag files from the project overview into the editor window.
What should I write into the .bat file for it to find all files with same names in folder (and it's sub folders) and replace them with file from another file (from another folder)?
Is there any fast way if we have 1 000 000 folders with nearely 10 000 files for replacement?
I'm making a very simple content-management system in Javascript. It uses plugins which are individual .js files which live in a "modules" folder. Currently I'm loading them with JQuery's getScript() function, but I have to manually define the list of available modules.
Is there any way to dynamically load the list of Javascript files so that the user can install additional modules by simply dropping them into the "modules" folder?
I want all CSV files in a directory, so I use
glob('my/dir/*.CSV')
This however doesn't find files with a lowercase CSV extension.
I could use
glob('my/dir/*.{CSV,csv}', GLOB_BRACE);
But is there a way to allow all mixed case versions? Or is this just a limitation of glob() ?
I am new to IntelliJ and to creating XSD files. In the "Create Project" wizard, there is no option to create an XML project. Do I create a Java project and then try to import the files?
We have a bunch of malformed XML files used in unit tests to check if our application can handle them.
Eclipse marks this XML files with errors, polluting the "problem view".
Is there a way to exclude a specific folder from Eclipse validators?