← Back to team overview

lubuntu-qa team mailing list archive

Re: Zsync

 

Well remember that "ls" is only for YOU looking in a directory. In order for zsync to look in that directory you would have to "cd" to that directory before pasting in the "zsync" link.

I want to back up just a little bit though. My old hands are so crippled with arthritis that typing is both painful and clumsy so I tend to keep things as simple as possible.

The terminal is by default already "looking in" Home so look at these two examples:

Example #1:

lance@lance-desktop:~$ ls /home/lance/Downloads
Debian                                        LinuxMint   Misc_debs   Puppy
gcalctool_5.30.0.is.5.28.2-0ubuntu2_i386.deb  lost+found  Misc_iso    Ubuntu
Kubuntu                                       Lubuntu     Peppermint  Xubuntu

lance@lance-desktop:~$ ls Downloads
Debian                                        LinuxMint   Misc_debs   Puppy
gcalctool_5.30.0.is.5.28.2-0ubuntu2_i386.deb  lost+found  Misc_iso    Ubuntu
Kubuntu                                       Lubuntu     Peppermint  Xubuntu

There you can see that "ls /home/lance/Downloads" and "ls Downloads" show the same results.

Example #2:

lance@lance-desktop:~$ ls /home/lance/Downloads/Lubuntu
lubuntu-12.04-alternate-i386.iso   lubuntu-12.10-desktop-i386.iso
lubuntu-12.04-desktop-amd64.iso    raring-alternate-i386.iso
lubuntu-12.04-desktop-i386.iso     raring-alternate-i386.iso.zs-old
lubuntu-12.10-alternate-amd64.iso  raring-desktop-i386.iso
lubuntu-12.10-alternate-i386.iso   raring-desktop-i386.iso.zs-old
lubuntu-12.10-desktop-amd64.iso

lance@lance-desktop:~$ ls Downloads/Lubuntu
lubuntu-12.04-alternate-i386.iso   lubuntu-12.10-desktop-i386.iso
lubuntu-12.04-desktop-amd64.iso    raring-alternate-i386.iso
lubuntu-12.04-desktop-i386.iso     raring-alternate-i386.iso.zs-old
lubuntu-12.10-alternate-amd64.iso  raring-desktop-i386.iso
lubuntu-12.10-alternate-i386.iso   raring-desktop-i386.iso.zs-old
lubuntu-12.10-desktop-amd64.iso

There again you can see that "ls /home/lance/Downloads/Lubuntu" and "ls Downloads/Lubuntu" show the same results. It's just a matter of less keystrokes ;^)

The same applies to the "cd" command, so in your case I'd think if you opened the terminal and typed "cd iso" (without the quotes) and then typed just "ls" you'd see those "raring" images.

If so zsync will read that image and update it accordingly. But remember that the daily builds all use ambiguous names!

Thanks for taking the time to learn this. I know I'm not the best teacher in the world so please accept my apologies.

Lance


--- On Sat, 3/9/13, Jose Lopez <josewendy1@xxxxxxxxx> wrote:

From: Jose Lopez <josewendy1@xxxxxxxxx>
Subject: Re: [Lubuntu-qa] Zsync
To: "Lance" <lbsolost@xxxxxxxxx>
Cc: "lubuntu-qa@xxxxxxxxxxxxxxxxxxx" <lubuntu-qa@xxxxxxxxxxxxxxxxxxx>
Date: Saturday, March 9, 2013, 7:47 AM

Ok I think I found it, (ls /home/jose/iso)

jose@jose-Aspire-one:~$ ls /home/jose/iso
android-x86-4.0-RC2-eeepc.iso     raring-alternate-i386.iso
boot                              raring-alternate-powerpc.iso

lubuntu-12.10-alternate-i386.iso  raring-desktop-i386.iso
lubuntu-12.10-desktop-i386.iso    rexbang-B2-4.iso
macpup_529.iso                    ubuntu-10.04-alternate-powerpc.iso
mini.iso                          ubuntu-10.04-desktop-powerpc.iso

plpbt-5.0.14                      xubuntu-12.04.1-alternate-i386.iso
product key                       xubuntu-12.04.1-desktop-i386.iso

So in conclusion, when I down load through Zsync it should see my raring-desktop-1386.iso and updated?. Of course taken that I pick the same one to download next time.

Please correct me if I'm wrong.
Thank you for your patience
jose


On Sat, Mar 9, 2013 at 7:34 AM, Jose Lopez <josewendy1@xxxxxxxxx> wrote:

Hi lance, getting back to your response. I see that in your  Download folder you have different folder that you keep your different flavors yes?. I have one folder in my /home called iso, and I keep all my isos in there. so my q. to you is, In terminal how do I call for the (ls) or the (cd) in my case. ~$ (cd home/iso) is that correct? and then ~/ (home/lubuntu$ ls). I think I have tried that and it does not work. I'm pretty fresh to terminal commands. but I really want to know how to use and get the list like you did here.


thanks
jose



On Fri, Mar 8, 2013 at 7:13 PM, Lance <lbsolost@xxxxxxxxx> wrote:

First of all, a member of Lubuntu dev pointed out that the way I posted about those two commands may have been confusing ............ the "-" is not part of either command. So just to be clear:





cd



Yep just those two letters, is used to change directories.



ls



Just lower case LS (I point that out because sometimes a lower case "L" is confused as upper case "i") is used to see what is in the current directory.



Now, as far as naming any folder or directory that's simply a personal choice. But, just as an example, since I test both Ubuntu and Lubuntu images look at the names:



lance@lance-desktop:~$ cd Downloads/Lubuntu

lance@lance-desktop:~/Downloads/Lubuntu$ ls

lubuntu-12.04-alternate-i386.iso   lubuntu-12.10-desktop-i386.iso

lubuntu-12.04-desktop-amd64.iso    raring-alternate-i386.iso

lubuntu-12.04-desktop-i386.iso     raring-alternate-i386.iso.zs-old

lubuntu-12.10-alternate-amd64.iso  raring-desktop-i386.iso

lubuntu-12.10-alternate-i386.iso   raring-desktop-i386.iso.zs-old

lubuntu-12.10-desktop-amd64.iso

lance@lance-desktop:~/Downloads/Lubuntu$ cd

lance@lance-desktop:~$ cd Downloads/Ubuntu

lance@lance-desktop:~/Downloads/Ubuntu$ ls

precise-desktop-i386.iso         ubuntu-12.04-desktop-amd64.iso

precise-desktop-i386.iso.zs-old  ubuntu-12.04-desktop-i386.iso

quantal-desktop-amd64.iso        ubuntu-12.10-desktop-i386.iso

raring-desktop-i386.iso          ubuntu-12.10-desktop-i386.iso.zs-old

raring-desktop-i386.iso.zs-old   ubuntu-gnome-12.10-desktop-i386.iso

ubuntu-10.04.4-desktop-i386.iso



You'll see that I have a "raring-desktop-i386.iso" in both "Downloads/Lubuntu" and "Downloads/Ubuntu". That's why I have to keep totally different folders/directories for different flavors.





Is that making any sense to you?



I hope I'm not just creating confusion.



Lance



--- On Fri, 3/8/13, Jose Lopez <josewendy1@xxxxxxxxx> wrote:



From: Jose Lopez <josewendy1@xxxxxxxxx>

Subject: Re: [Lubuntu-qa] Zsync

To: "Lance" <lbsolost@xxxxxxxxx>

Cc: "lubuntu-qa@xxxxxxxxxxxxxxxxxxx" <lubuntu-qa@xxxxxxxxxxxxxxxxxxx>


Date: Friday, March 8, 2013, 6:31 PM



Ok I found it. Zsync did put it in the /home

, but it made it's own file. now I'm going to make a copy for testing. Q. should I erase the one on my /home/jose/iso, and replace it with this one?. Zsync must do something that will recognize it's own, and for some reason it did not recognized the one I had in their. Q do I need to put a "s" on that directory file name (Like) /home/jose/isos?









On Fri, Mar 8, 2013 at 6:03 PM, Jose Lopez <josewendy1@xxxxxxxxx> wrote:



Ok when I download a ISO it goes into downloads, Then I move it into my /home/jose/iso. That daid, I had a daily in that file before I downloaded through terminal Zsync i thought it was going to replace the one in the Iso file. Am I wrong? I do have one in the download folder now. Is that the one from Zsync?. I'm sorry if I'm making it confusing.













On Fri, Mar 8, 2013 at 5:37 PM, Lance <lbsolost@xxxxxxxxx> wrote:





By default the terminal "looks in" Home, but if you have a previous iso that was downloaded using a browser that iso might be in Downloads.











Two very simple commands for working in the terminal are:







ls (That is lower case LS) - lists the files and folders in that directory







and:







cd - changes the directory







################







As an example if I open my terminal and type ls I see:







lance@lance-desktop:~$ ls



Backups  Documents  examples.desktop  Music     Public         Templates



Desktop  Downloads  I'm_lost.png      Pictures  Reorganize_me  Videos







If I cd to Downloads and then type ls I see:







lance@lance-desktop:~$ cd Downloads



lance@lance-desktop:~/Downloads$ ls



Debian                                        LinuxMint   Misc_debs   Puppy



gcalctool_5.30.0.is.5.28.2-0ubuntu2_i386.deb  lost+found  Misc_iso    Ubuntu



Kubuntu                                       Lubuntu     Peppermint  Xubuntu







That may seem confusing at first glance but I use and test other distros and *buntu flavors so I have to keep then separate ;^)







So I then "cd" again to get back to Home, and then "cd Downloads/Lubuntu", and then ls shows me the contents of that folder:







lance@lance-desktop:~/Downloads$ cd



lance@lance-desktop:~$ cd Downloads/Lubuntu



lance@lance-desktop:~/Downloads/Lubuntu$ ls



lubuntu-12.04-alternate-i386.iso   lubuntu-12.10-desktop-i386.iso



lubuntu-12.04-desktop-amd64.iso    raring-alternate-i386.iso



lubuntu-12.04-desktop-i386.iso     raring-alternate-i386.iso.zs-old



lubuntu-12.10-alternate-amd64.iso  raring-desktop-i386.iso



lubuntu-12.10-alternate-i386.iso   raring-desktop-i386.iso.zs-old



lubuntu-12.10-desktop-amd64.iso







You can see there a list of the contents of Downloads/Lubuntu on my box.







####################################







Did that help or did I just cause confusion?







Lance











--- On Fri, 3/8/13, Jose lopez <josewendy1@xxxxxxxxx> wrote:







> From: Jose lopez <josewendy1@xxxxxxxxx>



> Subject: [Lubuntu-qa] Zsync



> To: lubuntu-qa@xxxxxxxxxxxxxxxxxxx



> Cc: lubuntu-qa@xxxxxxxxxxxxxxxxxxx



> Date: Friday, March 8, 2013, 5:06 PM



>



> Hi all question, In terminal when I down load a iso,with



> Zsync where does it store it?. Just trying to get a handle



> on Zsync.



> thanks



> --



> Jose lopez <josewendy1@xxxxxxxxx>



>



> --



> Mailing list: https://launchpad.net/~lubuntu-qa



> Post to     : lubuntu-qa@xxxxxxxxxxxxxxxxxxx



> Unsubscribe : https://launchpad.net/~lubuntu-qa



> More help   : https://help.launchpad.net/ListHelp



>