I\'m trying to create a script to convert from $GIT_DIR/info/exclude to .gitignore files. I\'d like to put the .gitignore files as close to the pattern target as possible, meaning that a glob like /a/
I\'m looking for a character to use a filename delimiter (I\'m storing multiple filenames in a plaintext string). Windows seems not to allow :, ?, *, <, >, \", |, / and \\ in filenames. Obviousl
In my .bat file I want to generate a unique name for files/directories based on date-time. e.g. Build-2009-10-29-10-59-00
I am using PHP and I have an array of user images that I need to filter. I need to do 2 different filters:
Im trying to add some short file names to a Wise installer to fix validation errors, which is simple for the most part. However if I have the following two files:
I\'m trying to locate files with the same name and delete all of the smaller sized copies, leaving only the largest. For example: test.jpg = 2kb, test.jpg=9kb, test.jpg=5kb. The 2kb and 5kb files woul
How can 开发者_JS百科I write a regex which will replace any file name, with it\'s folder path, but wouldn\'t match url? and wouldn\'t match in url? For example it should match:
I am writing a PHP page to convert an uploaded file to XML. I only wan开发者_开发技巧t to convert the news file to XML. The only file that ever needs to be converted is news.htm. I have narrowed my pr
So I\'m trying to get the C program to read a filename from the command line in the following format:
I have created a screenshot program and all is working great.The only problem is, I am not sure how I can make it so the screenshots are saved with appending numbers.