Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I want to archive all config.xml files recursively... but only these files. Using WinRAR.
Directory structure:
Jobs
Job 1
config.xml
many other files and directories
Job 2
config.xml
many other files and directories
...
WinRAR solution
In WinRAR simply specify the source path with *:
C:\Jenkins\Jobs\*\config.xml
Additionally you can exclude the builds like shown. Then this backup will be extremely fast :)
7-Zip solution for skipping "builds" directory
7z a -r -xr!builds c:\Backups\Jenkins.7z D:\Jenkins\jobs\*.*
-r ==> recursive
-xr ==> exclude recursive
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am using window OS. I have a folder named as myFolder which contains many files, I need to convert that myFolder to myFolder.tar file. Anyone please suggest how to do it?
If Python is installed, then you can use the tarfile module:
import tarfile
with tarfile.open('myFolder.tar', 'w') as tar:
tar.add('myFolder/')
or if you want a compressed file, then do:
import tarfile
with tarfile.open('myFolder.tar.gz', 'w:gz') as tar:
tar.add('myFolder/')
Links
https://www.scribd.com/doc/521235/Python-Tutorial-tarfile-module
https://docs.python.org/2/library/tarfile.html#examples
I'd get some form of tool (like 7zip) to do this - Google has alternatives and demos. Otherwise you'll need to do something like scp it to a linux server and tar it up via command line.
http://unxutils.sourceforge.net/ has ported the majority of Unix tools to the Win32 API, including tar.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
The company I've applied for internship wanted me to do some mvc project. I've finished the project but I really don't know how to send it to them via email.The project includes a small database. I know I can't compress the solution folder and send it. Do I have to upload the project to a hosting service? If I deploy it to a hosting service and send them a website url then can they evaluate my work?
I suggest that you
Register on Github or Bitbucket (if you want private repos)
Create a Git repo with this .gitignore file.
Give them an url to a repo, and they will have a better impression of you.
Generate script for your DB (You can generate with data too.)
Remove bin directory.
Add readme.txt file in which mention all steps that need to be performed for setting up your project.
Create zip file and send it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
When I enter project configuration in Jenkins (in Firefox), the first field (Project name) displays my Jenkins username instead of actual project name. Every time I change config, I need to change that back to project name (like "foo+tests").
Running latest jenkins version, on ubuntu 12.04.
How to fix that?
It was KeeFox FF extension that was messing with project name field in Jenkins.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I was doing some tests on my server and I found that adding . or .. at the end of the URL seems to change things, but I don't know why.
It's not limited to my server, though. I can access www.google.fr.. via Firefox or wget (didn't try an other mean, but I guess it's the same).
So, do you guys know what do these extra . mean?
There are two type of URL possible.
Absolute= having fully qualified path
Relative= having path relative to current directory.
"." & ".." are used in relative paths.
"." means Current Directory or Current Path Segment
".." means one directory up relative to current Directory/Current Path Segment
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is there any software available to compare two text files for the differences between them. I have two CSS text files with me that i want to compare for the difference.
On Linux or Mac OS, use diff on the command line:
man diff
On windows, try this:
http://www.prestosoft.com/edp_examdiff.asp
araxis.
Also check Visual Studio Extension Code Compare
WinMerge works well too for comparing text files and source code as well. And its free!