Skip to main content

View zipped files without expanding

Don’t know how useful this command would be for an end user but yes, if you are good at Terminal, you would love to use this.

So lets start, launch the Terminal. Navigate to the zip file you want to have a glance at, by using the “cd” command and type the path to your file. For example cd ./downloads, this file can be any any where on your Mac. downloads can be replaced by the folder on your Machine.

Here comes the magic bit, copy and past the following into Terminal.

unzip -l "$@" MyFile.zip

Where text.zip is the name of you zip file you want to view. You need to have the at and dollar symbol for the text to be displayed on screen. You should have something similar to the image shown below.

Very handy where you can see the size of the file in bytes, the date is was created and the name and location of the file.

You can send the information found in the screen shot to a text file. You can use this to keep a log of a text file or as a backup to send to someone else. To forward the information to a text file type the following:

unzip -l "$@" MyFile.zip > textfile.txt

You can append the data to the end of a text file by using to arrows “>>”. This will add what ever is found in the zip file to the end of the text file you select, great if you are making an archive of what is in text files.

There is nothing much to do except writing few line and you can check if the file is exactly you are looking for.

Comments

Popular posts from this blog

An introduction to Mac OS X Server

Mac OS X server is combination of Power and Style. It derives power from its strong UNIX base and the style comes from well known Apple GUI. This combination makes Mac OS X Server one of the robust server available in present time. Mac OS X Server is built on a fully compliant UNIX foundation. This battle-tested core provides the stability, performance, and security that organizations require. And full UNIX conformance ensures compatibility with existing server and application software. Mac OS X Server is the ideal platform for deploying groundbreaking enterprise applications and services. The kernel in Mac OS X Server provides superior thread management and affinity algorithms for efficient handling of multithreaded applications on the latest generation of Intel multicore processors. It also provides precise control of real-time processing requirements, allowing a user-level thread — even an unprivileged one — to precisely specify its requirements for time-sensitive operations...

ENTOURAGE TROUBLESHOOTING: CRASHES WHILE LAUNCHING - II

Entourage Crashing due to Fonts There are two fonts that are known to be one of the most popular reasons of Entourage crashing. The first one is Helvetica Fractions which is majorly responsible to cause problems, the second is Times Phonetic. In order to fix this issue, don't just disable these fonts in Font Book, but physically remove them from your system and try to launch Entourage again. Other discussed reasons are database , schedules and duplicate daemons .

MANAGING YOUR MAILING LISTS

How to set up Mailing List Manager? Before we move ahead lets be clear about what a mailing list is all about? These are groups over the net that you join and they send mails to you, generally they come in bulk so it is a wise idea to create a seperate folder for this so that your inbox is never over limit. It is recommended to subscribe to a mailing list as it is a good source of information and knowledge. Here is an example of a mailing list and its subscription. Under mailing list manager rules, there is an option selecting which you can run more rules under one MLM ( Mailing List Manager ). Process to setup MLM: 1. Launch Entourage and select a mail that you have received from the mailing list. 2. Go to 'Tools' from the menu bar and select 'New'. 3. MLM is smart enough to fill up most of the feilds by itself, but make sure from your end that the the feilds entered is according to your preference. 4. Now it will allow you to add new folder to transfer mails coming f...