how to create .tar file on windows OS? [closed] - 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
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.

Related

How to recursively archive config.xml only (with WinRAR)? [closed]

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

OmniPascal installed in VSCode - Delphi file extensions broken [closed]

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
First StackOverflow question ever.
Just installed OmniPascal extension into VSCode. Now ".dproj" and ".dpr" files are no longer associated with Embarcadero Delphi.
This seems non-trivial to fix. Can anyone suggest a fix short of reinstalling Embarcadero?
Thanks in advance.
Right click on any .dproj or .dpr files
Select Open with... and then click Choose default program
Find and choose bds.exe(Embarcadero Rad Studio)
Selec the Always use the selected program to open this kind of file check box, and then click OK.
See Change the program that opens a type of file

How to see Ruby source code in Windows [closed]

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 8 years ago.
Improve this question
I've been trying to open Ruby source code on my Windows machine but a black box appear for less than a second and then close without showing anything, I've tried to open it with "command prompt with ruby" using File.open method but it keeps showing an error:
File.open is not recognized as an internal or external command, operable program or batch file.
You just need to use command type.
C:\> type ruby_program.rb
Just go into the directory, where your .rb file lives. And then do as above.
Read this What is the Windows equivalent of the Unix command cat?.
normally you can use every normal text editor, like notepad or ultra edit.
But the source can be encrypted, then you will see many bit's.

Installing Biopython Error [closed]

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 8 years ago.
Improve this question
I installed and unzipped the bipython-1.63 package. From my terminal (I'm running OS X 10.8), I typed (in the correct directory):
python setup.py build
And it returns this error - "could not create 'build/lib.macosx-10.5-x86_64-2.7': Permission denied"
My account is the only one on this computer and I do have root access. I even followed the instructions in the installation guide for biopython and that didn't work either.
Any thoughts?
try: sudo python setup.py build

Text file comparison software [closed]

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!

Resources