4 ms·
That's a good point, though I feel like that may just arise from 'zip' being the less commonly encountered of the two utilities.
by FreakyT 12y ago
That's a good point, though I feel like that may just arise from 'zip' being the less commonly encountered of the two utilities.
- dalke 12y agoI am unable to compare the number of Windows-based developers, who often use zip as an archive format, and Java-based developers, who often use zip to work with jar files, to the number of people who use tar. My guess is that tar users would be in the minority. How did you come to the conclusion about which is most commonly encountered? Also, other popular archivers also use the archive-first approach: 7z.exe a c:\a.7z file1.txt dir2\file2.txt rar a -r yourfiles.rar *.txt c:\yourfolder
- dagw 12y agozip is almost certainly the most used archive format, but that doesn't mean the the 'zip' command line tool is more used than the 'tar' command line tool. Even though I've probably run across more .zip files than .tar files (and certainly more archives of in the zip format) in my career, if undoubtedly typed 't-a-r' on a command line many more times than 'z-i-p'.
- dalke 12y agoOh, I certainly use tar more than zip. My downloads directory has 67 tar files and 15 zip files. Bear in mind though that the hypothesis is not specific to Unix development. The examples are: cp file1.txt file2.txt file3.txt destination/ mv file1.txt file2.txt file3.txt destination/ The equivalent in MS Windows command shell is: copy file1.txt file2.txt file3.txt destination\ move file1.txt file2.txt file3.txt destination\ The hypothesis makes the prediction that Windows command-line users (which is a subset of all Windows users) will have similar problems with zip/7zip/rar's "inverted" command-line parameters. Similarly, the hypothesis predicts that people who use the command-line to work regularly with .jar, .odf, and other zip-based file formats will also have problem with the ordering. I have not heard of such problems, but I am not knowledgeable about those areas of development.