Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: zipping top folders  (Read 3891 times)

0 Members and 1 Guest are viewing this topic.

Blisk

    Topic Starter


    Intermediate

    Thanked: 1
    • Experience: Familiar
    • OS: Windows 7
    zipping top folders
    « on: April 27, 2016, 04:20:15 PM »
    How to make zip files from top folders.
    I have in one folder \files many folders like
    \monday
    \tuesday
    \wednesday
    \thursday_first
    \thursday_second

    and every of this folders have files and subfolders in it.

    So I need batch which will zip create zip from first folders and include all files and subfolders.
    for example, zip file will include
    \monday\all.txt
    \monday\user.txt
    \monday\scanned
    \monday\listed

    and when zip is created it delete folder \monday
    I also have installed 7zip if with regular zip that is not possible.

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: zipping top folders
    « Reply #1 on: April 29, 2016, 09:49:41 AM »
    Not quite understanding what you mean by first folder.  Does this mean that monday, tuesday, wednesday and thursday_first get zipped up into individual zip files but thursday_second does not?

    Blisk

      Topic Starter


      Intermediate

      Thanked: 1
      • Experience: Familiar
      • OS: Windows 7
      Re: zipping top folders
      « Reply #2 on: April 29, 2016, 11:53:06 AM »
      all of these are first folders
      \monday
      \tuesday
      \wednesday
      \thursday_first
      \thursday_second

      from each of this is created new zip.

      but all subfolders from \monday are zipped in monday_dec_12_2016.zip
      but all subfolders from \tuesday are zipped in tuesday_dec_12_2016.zip
      but all subfolders from \wednesday are zipped in wednesday_dec_12_2016.zip
      but all subfolders from \thursday_first are zipped in thursday_frist_dec_12_2016.zip
      but all subfolders from \thursday_second are zipped in thursday_second_dec_12_2016.zip


      and so on....

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      Re: zipping top folders
      « Reply #3 on: April 29, 2016, 12:33:17 PM »
      Well more confusion.  You did not mention anything about putting a date into the zip file name.  Is the Day of the Week supposed to correspond to the actual year month day?

      monday_dec_12_2016.zip
      tuesday_dec_13_2016.zip
      wednesday_dec_14_2016.zip
      thursday_frist_dec_15_2016.zip
      thursday_second_dec_15_2016.zip

      Blisk

        Topic Starter


        Intermediate

        Thanked: 1
        • Experience: Familiar
        • OS: Windows 7
        Re: zipping top folders
        « Reply #4 on: April 29, 2016, 01:55:22 PM »
        it is a date when zip is created, so new zip files can be created because there is date in name.
        If not I can have only one backup because new will overwrite old one.

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: zipping top folders
        « Reply #5 on: April 29, 2016, 03:00:53 PM »
        7 Zip can do all what you require it to do...you need to start reading the Help files...
        " Anyone who goes to a psychiatrist should have his head examined. "

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: zipping top folders
        « Reply #6 on: April 29, 2016, 06:29:26 PM »
        The CH archives have a number of relevant articles.
        http://www.computerhope.com/issues/ch000808.htm
        Quote
        Users who are using Microsoft Windows XP or later operating systems can compress files using the included compression utility by following the steps below.
            Select each of the files and folders you want to add to the compressed file.
            Right-click one of the selected files or folders and click 'Send To' and then click 'Compressed (zipped) Folder'.
        Or use a third party thing. Like Patio said:
        http://www.7-zip.org/download.html