How do you compress files and folders?

how do you compress files and folders?

Simply right-click and select "Compress," or navigate in Terminal to the directory containing the file(s) you wish to zip and use the "zip" (no quotes) command. From the terminal you can also use -e to encrypt your archive.

Similar Messages

  • Compress files and folders in OS 10.6

    How do I compress files and folders in OS 10.6?

    If you have Compressor, there are many options to compress files.
    If you don't, there ere some QuickTime h,264 options available as well,
    But since you mention folders, I'm guessing that you're not referring to AV files specifically but to zipping generically. If so, right click and choose the Compress  option.

  • How to ZIP the files and folders/sub folder files using java

    HI All,
    I'm New to this Forum, Could anybody tell me how to zip the files and folders/sub folders using java. For example I have a folder with the name testfolder and side that folder I have some files and some sub folders inside subfolders I have some other files. I need to ZIP the files and folders as they are in same hierarchy.
    Any pointers or help wolud be appritiated.
    Thanks,
    Rajeshbabu V

    [http://www.devx.com/tips/Tip/14049]

  • How to recover hidden files and folders from memor...

    When you connect your memory card to a PC or connect your phone as a mass storage device to a PC which is infected by a virus, the virus may hide all your files and folders.
    The virus also changes their attributes to "hidden" and "read only" and may move all memory card content to another hidden folder, though the size of the disk looks unchanged, files are still invisible.
    Steps to recover hidden files and folders:
    First, change the settings in "folder options" so that we can see all hidden files and folders,
    Open any folder > select organise > folder and search options, select view tab and under hidden files and folders setting, select "show hidden files, folders and drives", and uncheck the option "Hide protected operating system files" and click ok, click yes if a prompt appears for confirmation, now you should be able to see all hidden files and folders.
    Second, connect your memory card to PC using a card reader or you can connect your phone as a mass storage device and note down its drive letter. (L) is the drive in my case as shown
    1. If you have autorun.info file, you can manually delete it or use tools like autorun eater(or any other you like).
    If all the folders are moved inside a hidden folder, select all the items inside that folder, cut them and paste them to root directory of your memory card.
    If you select properties of any folder on your memory card, the hidden attribute might be locked as shown:
    To solve these issues, type cmd in the start menu, right click on it and click run as administrator.
    2. In the command prompt window, type the following:
    L: [Press Enter]
    Here, I assume L as your drive letter.
    3. Type the following code to reset the attributes of all the files and folders to their default:
    Attrib *.* -r -h -s /s /d   [Press Enter]
    After few seconds, all the files and folders will be reset to their normal attributes settings.
    Hope you enjoyed reading the post and was helpful.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

    Check the formatting of the external hard drive. To do that, right click on the drive icon and select Get Info. (Or click once on the drive and type command +i ) The pane includes information about the drive format.
    The drive should be formatted as Mac OS Extended. If it is not, run Disk Utility (App;ications / Utilities) and format the drive.

  • How do I resort files and folders by name in Column View of Finder when Arrange by Name doesn't work?

    I was using the arrange by function to select different arrangements of the files and folders in Finder (column view) but now that I want to return to having them arranged by Name, it is not rearranging the files/folders by name.  Instead they stay in a totally random, non-alphabetical arrangement.  List view sorts without issue by clicking on the column header. It is column view that will not return to arranging by name.  Please help me figure out what is wrong.
    Thank you!

    Repair Disk Permissions in Disk Utility, reboot the computer in Safe Mode then restart normally and test.

  • How to print the files and folders in a finder window?

    A long time ago...There used to be a way to print all the files and folders in a finder window. I haven't been able to do so in a very long time. Is it one of those things no one else needed so they eliminated it? If not, can someone tell me how to do it?

    Or use the scripts here:
    /Library/Scripts/Printing\ Scripts
    build the droplet in AppleScript Editor, and drag the folder on to the droplet.
    This thread has other suggestions:
    http://discussions.apple.com/thread.jspa?messageID=10825106&#10825106

  • How can you compress? And WHAT THE HECK IS IT

    What does compress do? and how do you do it?

    Compressing songs is exactly what it sounds like...making the song file smaller.
    To do this, go to Edit>Preferences>Advanced>Importing. Change your settings to what you want (Apple says an average song is AAC at 128kbps encoding). The higher the bit rate, the better quality of the music. However, this dramatically increases the size of the files, so be careful.
    So let's say you decide on AAC at 128kbps (what I suggest). Select a song (or multiple), and then go to Advanced>Convert Selection to AAC. Then you will have a duplicate copy in the Library. Go select one of the copies, right click it, go to Get Info, and see what type of file it is. If it is the old file format, you can remove it from the library. Be sure to keep the new one.
    Post back if you need more details/instruction!
    I hope this helps!

  • How to delete all files and folders (with files) in IsolatedStorage.

    Hi awesome programmer:-) The code I have to clean up the local folder doesn't work properly so I won't even bother posting it here. I basically want to have a "master reset" option to remove all new created files and folder in the local folder.
    Can you give me simple code to remove all files/folder so the app goes back to the state it was when the user installed it for the first time? Thanks in advance. ps I were able to delete a directory(-ies) with this method:
    private async void DeleteDirectory(string directoryName)
    try
    var folder = await Windows.Storage.ApplicationData.Current.LocalFolder.GetFolderAsync(directoryName);
    if (folder != null)
    await folder.DeleteAsync();
    this.Dispatcher.BeginInvoke(delegate()
    txtUpdateFeed.Text = "Folder < " + directoryName + " > deleted.";
    catch (Exception ex)
    this.Dispatcher.BeginInvoke(delegate()
    txtUpdateFeed.Text = "Delete Directory << " + directoryName + " >> Error: " + ex.GetBaseException().Message.ToString();
    It seems to work, I have not tested with all conditions though. Anyway let me put up the code so you can see I have been trying: This is to delete everything but not all files are deleted:
    private void WipeAllData(bool bln)
    try
    txtUpdateFeed.Text = "Removing files...";
    if (bln)
    txtUpdateFeed.Text = "Removing folders...";
    //Delete videos directory
    DeleteDirectory("videos");
    //Delete pictures directory
    DeleteDirectory("pictures");
    txtUpdateFeed.Text = "Folders removed.";
    //Delete the rest of the files
    var iso = IsolatedStorageFile.GetUserStoreForApplication();
    foreach (string name in iso.GetFileNames())
    iso.DeleteFile(name);
    BtnWipeAllData.Content = "Wipe All Data";
    VideoCameraPowerValue = "on";
    BtnVideoCameraPower.Content = "Video Camera: ON";
    PhotoCameraPowerValue = "on";
    BtnPhotoCameraPower.Content = "Photo Camera: ON";
    txtUpdateFeed.Text = "Files removed successfully.";
    catch (Exception ex)
    MessageBox.Show("Wipe All Data Error:\n" + ex.Message.ToString());
    Why isn't all files being deleted?

    Hi Clint William Theron,
    Based on your descriptions, I know that when you run the above code, it does not delete all the files, then have you checked that which kinds of files or in which folder the files can not been deleted?
    Besides, if you want to let the app go back to the state it was when the user installed it for the first time, then an easy way is to uninstall and reinstall it.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • IPhone SDK - How to add application files and folders to Xcode?

    I want to package a folder with data specific to my app. The data is just a bunch of binary files in proprietary format.
    These files should be installed under /Documents folder of the application. The files themselves will be in a folder called say Data. So when i run the app from Xcode i want it to copy the files to
    /Documents/Data folder under the bundlePath.
    There could be a file called data.dat under the Data folder.
    So in my application i want to be able to use the NSFileHandle interface or the standard C fopen() function to access the file /Documents/Data/data.dat .
    How can i do this using Xcode? Is there a tool one needs to use to create an install package?
    Any help would be greatly appreciated.
    -TRS

    If you look at the SQLiteBooks example, it shows and example of installing some extra data (books.sql) into the documents folder. Look at the function createEditableCopyOfDatabaseIfNeeded in AppDelegate.m
    You should also add in the starting/static data files in the build process in XCode - you can probably add to, or create another build step that will copy the files from your host machine into the app bundle.

  • Slow iMac/how to identify "other" files and folders

    My iMac has slowed down considerably in the last 8 or 9 months. (OS 10.7.4) I get the beach ball on everything, whether trying to scroll through Gmail on the web, or switch from one application to another.  My photo library is very large (18,000 photos) and it's at a standstill most of the time.  Syncing my iPad can take 30 minutes. I'm working with Apple technician and have reset PRAM, done a disk utility check, and repaired permissions (there is still something wrong there). In the meantime, I'm trying to figure out why my storage is so high.  when I view "About this Mac" and "Storage, it lists Audio, Movies, Photos, Apps, Backups, and Other.   Is the other my Applications, as opposed to Apps?  Is there some way to get a listing of folder sizes?

    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/
    Check the S.M.A.R.T. status of the drive in Disk Utilty by highlighting the Drive & looking at the bottom of the window.
    https://discussions.apple.com/servlet/JiveServlet/showImage/2-18909570-134065/SM ARTstatus.gif
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    In the Memory tab, are there a lot of Pageouts?

  • How do you drag files into folders on the new mountain lion?

    When i select the file i want to drag into a folder, it drags normally but i can not place it in the new folder.  nothing fancy just rying to move pictures into the same folder.
    Thanks

    Hi there...
    I'm in the same boat.
    I clean installed Mountain Lion no problems, everything seems to be a little quicker even... .a bonus.
    But then I stumbled across something.
    I am unable to move or drag files around.
    Let's say I have a file jpg in the desktop, and I want to move it to the pictures folder... Normally I would just hold down the trackpad, and physically move it in to the open pictures finder... but it just will not move.  I can select it, open it, rename it, everything... but I just cannot drag anything anywhere.
    Lets say the jpg on my desktop needs work and I want to open it in Photoshop.  I have the Photoshop icon in my Dock, and for years have simply dragged whatever jpg onto the PHotoshop icon in the Dock to open it.. .but now I can't.
    At the moment I am copy/pasting everything, which is time consuming and sooo annoying you have no idea.
    I just wanted to move a AVI from my downloads to the desktop.  I had to copy, paste, then delete from downloads... ***?!?!
    Am I the only one experiencing this problem??
    Please let me know.

  • How do i copy files and folders from one external harddrive to another on the iMac?

    For some reason when i drag the folder or file that i want to transfer or copy from one external harddrive to another, nothing happens when i drop it on the destination folder or drive. however, when i drag and drop to the desktop or any location on the Imac internal hardrive it works without any issue. The only problem is that i dont want to transfer or copy stuff to the computer. i want to copy it to an external harddrive. please help if your have answers to my question.
    Thanks!

    Check the formatting of the external hard drive. To do that, right click on the drive icon and select Get Info. (Or click once on the drive and type command +i ) The pane includes information about the drive format.
    The drive should be formatted as Mac OS Extended. If it is not, run Disk Utility (App;ications / Utilities) and format the drive.

  • How to compress my files and folders, How to compress my files and folders

    Good morning,
    My name is Jai Bhandari and I am from London, UK.
    I am sending this out to everyone that can help me to compress my files and folders, as I believe my macbook pro is starting to freeze and caused by having a slow machine, is there anyone that can suggest to me how and what do I use to compress these files into one folder.
    Thank you for reading this and hope to hear from you soon.
    Many regards
    Jai

    You can 'compress' files and folders from the Finder by selecting the items and choosing File>Compress "selected file or folder". This will create a zip archive and will save you some space. (I just tried it on a 16GB folder and it compressed it to an 11GB zip file). After you zip the file/folder the original can be deleted )until you need to access it again, then you can just double-click the zip file).
    If you're trying to free up disk space on your hard drive, this is not the best method... but you didn't ask about that...
    Clinton

  • How to sort files and folders like Windows

    I don't know if this is specific to Arch or every other Linux distro but one thing that really bugs me in Arch is how files and folders are sorted. I use Windows as my main OS (don't start on that please) and I have one folder properly organized exactly as I want it and I like it how Windows sorts this. I access that same folder from my Arch installation, the problem is that the sorting is different and it gets on my nerves lol...
    This is how Windows sorts that specific folder:
    C:\Users\Nazgulled\Documents\University>dir /O
    Volume in drive C is Vista
    Volume Serial Number is F84E-02BE
    Directory of C:\Users\Nazgulled\Documents\University
    05-08-2009 15:34 <DIR> .
    05-08-2009 15:34 <DIR> ..
    05-08-2009 11:10 <DIR> [Archives]
    05-08-2009 14:38 <DIR> [Developers]
    05-08-2009 11:17 <DIR> [X] 1) Cálculo II
    05-08-2009 11:18 <DIR> [X] 2) Análise de Custos
    05-08-2009 11:18 <DIR> [X] 2) Cálculo de Programas
    05-08-2009 11:18 <DIR> [X] 2) Laboratórios de Informática III
    05-08-2009 11:18 <DIR> 2) Algoritmos e Complexidade
    05-08-2009 11:18 <DIR> 2) Arquitectura de Computadores
    05-08-2009 11:18 <DIR> 2) Comunicaçao de Dados
    05-08-2009 11:18 <DIR> 2) Engenharia Económica
    05-08-2009 11:18 <DIR> 2) Estatística Aplicada
    0 File(s) 0 bytes
    13 Dir(s) 24.700.485.632 bytes free
    And this is how Arch does it:
    nazgulled ~/University $ ls -l
    total 7
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Algoritmos e Complexidade
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Arquitectura de Computadores
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Comunicação de Dados
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Engenharia Económica
    drwxr-xr-x 1 nazgulled nazgulled 8192 2009-08-05 11:18 2) Estatística Aplicada
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:10 [Archives]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 14:38 [Developers]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:17 [X] 1) Cálculo II
    drwxr-xr-x 1 nazgulled nazgulled 12288 2009-08-05 11:18 [X] 2) Análise de Custos
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Cálculo de Programas
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Laboratórios de Informática III
    How can I get Arch/Linux to sort exactly the same as Windows?
    Last edited by Nazgulled (2009-08-05 14:41:47)

    toad wrote:
    Nazgulled wrote:Surely there must be a way to have the same sorting collation in Linux like in Windows
    Ah, no. The way they are doing it is nonsensical and not good practice for a unix style system. Having said that, some solutions have already been offered in this thread.
    While you are free to continue to ask others to help you achieve your aims, it may be more convenient for you to adapt to a structure that is displayed the same way under all systems (just to avoid frustration - not saying you _should_ do it ).
    I really don't care if it's nonsensical, I use Windows 95% of the time or more, it's my main OS, I'm used to it and I like it. Why should I care if it's not a good practice for a unix style system? I just want things to behave the way I like and for a free system like Linux where it doesn't even compare to Windows in terms of freedom in what I can do with it and configure the way I like, it sure is hard to change the way folders/files are sorted...
    It sucks that there isn't a proper solution but I'm not going to adapt anything, that would be nonsensical... But if I have to, I can live with the fact that there isn't a good solution and leave it as it is
    Thanks everyone for their input, "topic closed".

  • How do you combine audio and video files?

    I've brought in a video file and an audio file, but can find no way to specify that they are a single source that should be compressed together.  The documentation was of no use.  How do you identify video and audio files as being one source?
    Thanks!

    Semantics, I suppose.  In any case, you do need to go through Premiere Pro if you want AME to do the job.  There are likely other encoders out there which can perform the muxing, though, if you'd rather not go through PP.

Maybe you are looking for

  • Suggestion for a new macbookair flash storage capacity for dual OS

    I'm planning to buy my first MBA. I'll work using logic pro and office for mac. But I also have one app that need run on win7. This app size is max 200mb. To keep my final working file, I plan to buy external storage. My question, looking at my work

  • Design View - Can't believe it's gone!

    I have been using Flash Builder since it was Flex Builder. Actually, since flex was introduced. Once of the best features of Flash Builder over other IDE's was the ability to use a GUI to layout elements on the page. I just downloaded the trial versi

  • Linksys and DDNS: no alternatives: dyndns / TZO or die ?

    hi all, i`m rellay disappointed about linksys. dyndns and tzo now one company. Why is linksys not implemting freeware hoster or at least a field for custom implementation like others have ? What is the reason of your strategie ? the NSA to keep only

  • Is Adobe AIR supported under Mountain Lion?

    I see several problems referenced with Adobe AIR and Mountain Lion support. My application crashes on load as well. Is there a fix in the works for Adobe AIR?

  • Credit card confirmation using Web services

    Hi, I am new to WebServices,could pls help me the following question. How to check credit card confirmation busing webservices and integate mail engine once completed credit card confirmation sending mail to custome. Regards Venkat