View Poll Results: Do you think this is a worthwhile project?

Voters
150. You may not vote on this poll
  • Yes, make a grahpical RAR maker!

    120 80.00%
  • No, this is a waste of time!

    23 15.33%
  • Maybe; the script is great, thanks, but a GUI is unnecessary

    7 4.67%
Page 11 of 14 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 135

Thread: Graphical RAR program I'm working on

  1. #101
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical RAR program I'm working on

    your in luck! I just happen to not know either!

  2. #102
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Graphical RAR program I'm working on

    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site

  3. #103
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical RAR program I'm working on

    I may consider re-writing it at some later date, but in the mean time if you wish to re-write it yourself in whatever language you see fit and republish it...

  4. #104
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical RAR program I'm working on

    I've added a text-based version that I've been wanting to do for some time, and never did for some reason that remains unknown to this day... check it out! I'm always open to ideas! ('unfortunately', it's still in bash, installs to /bin, and requires itself to be a command and have rar installed )

  5. #105
    Join Date
    Oct 2007
    Location
    wrong planet
    Beans
    746
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Graphical RAR program I'm working on

    I get better compression by using p7zip and the split command.
    Linux Advanced Guides and News!
    http://linuxinnovations.blogspot.com/

    Green means go, Yellow means faster, Red means don't stop.

  6. #106
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical RAR program I'm working on

    yes, 7z is probably the best compression, but RAR is very close behind and I knew the commands to create this program working with RAR, not 7z. If you care to re-work it using 7z, be my guest! Seriously!!

  7. #107
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical Split RAR Maker

    well, this marks the 64th day anniversary since the first text based version was released on September 24th, and I'm not talking about the mkrarTB version 1.0 we have now - that's a port of 2.1. I'm talking about the very first release when this project got started! In honour of this, I would like to provide a copy of the original version 1 source so everyone can see how far it's came! In addition to this, I am happy to report that there has been only 1 report to me of any problems, out of the ~100+ people that now have at least one or another copy/version of this script, and furthermore, the problem wasn't necessary with the script, but with the sub-script that checks if you have all the necessary sub-apps installed!

    Now, this is truly version 1:
    Code:
    echo -n "cd to where?: "
    read goto
    echo -n "enter size of archive(s) (in millions of bytes): "
    read size
    echo -n "enter file/folder to archive (NOT path): "
    read folder
    echo -n "enter archive name: "
    read name
    cd $goto
    rar a -v$size"M" $name.rar $folder
    If you thought I meant version 1 of the graphical line after this really got on track, then here's that:

    Code:
    #!/bin/bash
    zenity --info --text "At anytime, or now, if you wish to exit, simply close the terminal, or click cancel on one of the dialogs.  Of course, if this is done in the middle of the archiving process, there is a chance that the already completed archives will be useless or corrupt.";
    
    where=$(zenity --entry --text "Where is the file/folder you wish to archive?" --entry-text $HOME);
    
        if [ "$?" -eq "0" ]
        then
    
        size=$(zenity --entry --text "Please enter the maximum size for the archive (in millions of bytes) (will split to this size if necessary):" --entry-text "50");
    
            if [ "$?" -eq "0" ]
            then
    
            folder=$(zenity --entry --text "What is the folder/file you wish to archive called?" --entry-text "Images");
    
                if [ "$?" -eq "0" ]
                then
    
                name=$(zenity --entry --text "What should we call the archive(s)?" --entry-text $folder"-splitRAR");
    
                    if [ "$?" -eq "0" ]
                    then
    
                    cd $where
                    zenity --info --text "Note: This may take several minutes depending on the quantity and size of the files"
                    zenity --question --text "So, you want to make a RAR of the folder/file called '"$folder"', put it in "$where", call the archive(s) '"$name"', and split them (if necessary) into "$size" million byte pieces?"
                        if [ "$?" -eq "0" ]
                        then
                        rar a -v$size"M" $name.rar $folder
                        exit 0
                        else
                        exit 0
                        fi
                    exit 0
                    else
                    exit 0
                    fi
                exit 0
                else
                exit 0
                fi
            exit 0
            else
            exit 0
            fi
        else
        exit 0
        fi

  8. #108
    Join Date
    Nov 2005
    Location
    Copenhagen, Denmark
    Beans
    80
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical Split RAR Maker

    Great project, thanks! I have a noob question: I can't install. There's no "run in terminal" option in my nautilus. And I don't know enough about terminal commands to make it work the old-fashioned way. Can you help?
    Also, which version is the newest one - the one with the modified interface, or the "other one"?

    Thanks a lot!

    Best,
    Rasmus
    ---
    Ubuntu 7.10 using GNOME
    Asus M6N; Intel Centrino 1.6 Ghz; ATI Mobility Radeon 9600; Intel Pro/Set WLAN 2200BG

  9. #109
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Graphical Split RAR Maker

    when you save, download, or in any way make a text file, you need to save it and then right-click and go into the properties --> permissions, and make it executable. Then, you should be able to pick on click view, run, or run in terminal (or cancel).

    If there is no choice, I believe you can pick what to do when opening a text file in the file browsing options

    oh, and sorry I didn't answer the other question - the modified interface and the normal one are both version 2.1, but technically, the non-modified one is newer because I invented it when I came out with 2.1. In worry that some people may not like it, I decided to provide version 2.1 with the new and old interface, so its your pick
    Last edited by ryanVickers; January 2nd, 2008 at 10:40 PM.

  10. #110
    Join Date
    Jul 2007
    Beans
    171
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Graphical RAR program I'm working on

    This is quite cool. After 40 days when RAR expires will it continue to work? Thanks a mill!
    OS: All Hardy!
    System: HP DV9224TX Laptop
    CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
    HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)

Page 11 of 14 FirstFirst ... 910111213 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •