Re: [PLUG] Strange Google Earth exit behavior
On Wed, 31 Jul 2019, Dick Steffens wrote: I don't remember setting it up, but just using my login password worked for me. Dick, Why enter anything? Is it locally stored or does Google take it somewhere? A local application should not need a password. Guess I'll keep pressing the 'Cancel' button. Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
> > Well, I'm the only human element involved and I have no problems. > > When > > synchronizing an entire directory there's never been an issue. What I > > want > > to learn is how to exclude a specific subdirectory on the source > > host. > > In an earlier reply I mentioned using a file to exclude things that is > referenced on the rsync command line. I know that things can be > excluded as an argument on the command line but I've been tripped up > doing it like that in the past. I would suggest trying the following > using your correct information of course. > > Create a file on the source node /home/rshepard/excludes.txt that > includes the directory you want to exclude (in this case data no / > needed), and possibly excludes.txt > > The following should do what you want as it works prefectly for me with > my specific directories and excludes. > > rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt' > /home/rshepard/ rshepard@salmo:/home/rshepard/ > > I have files with commands resembling the one above on several > computers which have worked for me for years. I would highly encourage this solution, as the other solution using the command line exclude is a filter "On that word(s)" and may actually exclude more than just the directory you wish should that word appear anyplace in any other file name. This comes with a voice of experience in using command line exclude filters, imho they should be abolished as wasted program space, command line complexity and bad user experience. The formal traditional "unixy" way to do this is to feed a right proper constructed list of desired files to a command using a filter, most often find and grep {,-v}. I'll give rsync a nod, it has more options than ls :-) You can use the --list-only to get the list of files, then pipe that through a properly anchored grep -v to prune out the undesired files to locally create the above excludes.txt file. > Hope this helps > -- > David -- Rod Grimes rgri...@freebsd.org ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
> On Wed, 31 Jul 2019, Ben Koenig wrote: > > > There's a way to make it stop. I bet you asked about this years ago and > > implemented the workaround on your other systems. > > Not too likely as I've not before encountered it, unless it was about 20 > years ago and I've forgotten it since then. > > > My solution is to not run apps that do stupid gnome things. Life is simpler > > without that stuff. > > Your choice. I find GE very useful for both business and personal > applicastions. Google more and more wants to do all things for you and they have added automatic key ring management to there ever intrusive set of tools and each tool now expects you to use there keyring system. IIRC Chrome recently started doing this same nag on one of my sysctem, I just keep pushing cancel and give a growl at the google god whom I wish out of my live. Sadly since I am not a EU citizen I can not ask to be forgotten :-(. > Rich -- Rod Grimes rgri...@freebsd.org ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
On 7/31/19 10:18 AM, Rich Shepard wrote: The latest SBo offering for 64-bit Google Earth is installed on the new 64-bit desktop and works fine. Except, when I log out a dialog box opens asking for which keypass password I want to use. I don't remember setting it up, but just using my login password worked for me. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
On Wed, 31 Jul 2019, Smith, Cathy wrote: I've always found it useful to test my rsync syntax with a subset of the data or the --dry-run option first. Various OS implement rsync a tiny bit differently. There are a lot of good rsync tutorials online which have working examples. Cathy, Good advice. Thank you. Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
On Wed, 31 Jul 2019, David Bridges wrote: In an earlier reply I mentioned using a file to exclude things that is referenced on the rsync command line. I know that things can be excluded as an argument on the command line but I've been tripped up doing it like that in the past. I would suggest trying the following using your correct information of course. David, I read that. With only a single subdirectory I tried to do it on the command line. However ... The following should do what you want as it works prefectly for me with my specific directories and excludes. rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt' /home/rshepard/ rshepard@salmo:/home/rshepard/ Hope this helps ... yes, this does help. Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
I've always found it useful to test my rsync syntax with a subset of the data or the --dry-run option first. Various OS implement rsync a tiny bit differently. There are a lot of good rsync tutorials online which have working examples. Cathy -- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Operated by Battelle for the U.S. Department of Energy Phone: 509.375.2687 Fax: 509.375.4399 Email: cathy.sm...@pnnl.gov -Original Message- From: plug-boun...@pdxlinux.org On Behalf Of David Bridges Sent: Wednesday, July 31, 2019 1:15 PM To: plug@pdxlinux.org Subject: Re: [PLUG] Copying to new host, excluding a directory tree > Well, I'm the only human element involved and I have no problems. > When > synchronizing an entire directory there's never been an issue. What I > want to learn is how to exclude a specific subdirectory on the source > host. In an earlier reply I mentioned using a file to exclude things that is referenced on the rsync command line. I know that things can be excluded as an argument on the command line but I've been tripped up doing it like that in the past. I would suggest trying the following using your correct information of course. Create a file on the source node /home/rshepard/excludes.txt that includes the directory you want to exclude (in this case data no / needed), and possibly excludes.txt The following should do what you want as it works prefectly for me with my specific directories and excludes. rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt' /home/rshepard/ rshepard@salmo:/home/rshepard/ I have files with commands resembling the one above on several computers which have worked for me for years. Hope this helps -- David ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
> Well, I'm the only human element involved and I have no problems. > When > synchronizing an entire directory there's never been an issue. What I > want > to learn is how to exclude a specific subdirectory on the source > host. In an earlier reply I mentioned using a file to exclude things that is referenced on the rsync command line. I know that things can be excluded as an argument on the command line but I've been tripped up doing it like that in the past. I would suggest trying the following using your correct information of course. Create a file on the source node /home/rshepard/excludes.txt that includes the directory you want to exclude (in this case data no / needed), and possibly excludes.txt The following should do what you want as it works prefectly for me with my specific directories and excludes. rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt' /home/rshepard/ rshepard@salmo:/home/rshepard/ I have files with commands resembling the one above on several computers which have worked for me for years. Hope this helps -- David ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
On Wed, 31 Jul 2019, Tomas Kuchta wrote: You need to quote the remote host:'*' like this to prevent your local shell expanding it locally instead of remotely. Tomas, Okay. That makes a lot of sense. Thank you, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
You need to quote the remote host:'*' like this to prevent your local shell expanding it locally instead of remotely. Hope this helps, Tomas On Wed, Jul 31, 2019, 14:01 Rich Shepard wrote: > On Wed, 17 Jul 2019, tomas.kuchta.li...@gmail.com wrote: > > > you can use --exclude dirOrFileName multiple times - it will form a list > > From the target machine I tried to rsync all of my home directory from > salmo, except for the data/ subdirectory but my syntax is wrong. On the > source host data/ is a subdirectory under ~/. On the target host it's a > different partition, /data. > > rsync -av --exclude=data/ salmo:* . > > skips all ~/ and copies over no files. > > What's the correct syntax for this? > > Regards, > > Rich > > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
On Wed, 31 Jul 2019, Ben Koenig wrote: There's a way to make it stop. I bet you asked about this years ago and implemented the workaround on your other systems. Not too likely as I've not before encountered it, unless it was about 20 years ago and I've forgotten it since then. My solution is to not run apps that do stupid gnome things. Life is simpler without that stuff. Your choice. I find GE very useful for both business and personal applicastions. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
On Wed, 31 Jul 2019, Ben Koenig wrote: Stop using wildcards and the . when using rsync. It causes problems for the human element. Specify the folders using ABSOLUTE pathnames and always include the trailing / Well, I'm the only human element involved and I have no problems. When synchronizing an entire directory there's never been an issue. What I want to learn is how to exclude a specific subdirectory on the source host. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
Yep. That's gnome-keyring. Googs is playing favorites and forcing dependencies on gnome libraries. There's a way to make it stop. I bet you asked about this years ago and implemented the workaround on your other systems. My solution is to not run apps that do stupid gnome things. Life is simpler without that stuff. On Wed, Jul 31, 2019, 12:15 PM Rich Shepard wrote: > On Wed, 31 Jul 2019, Ben Koenig wrote: > > > Is it a gnome keyring prompt? > > That's usually what people see for googs earths. > > Ben, > > No clue. The text in the dialog box reads, "Choose password for new > keyring. > An application wants to create a newkeyring called 'Default' enter the > password you want to use." There are two text entry widgets for the > password. > > Rich > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
rsync -av user@srchost:~/ /path/to/destination/ Stop using wildcards and the . when using rsync. It causes problems for the human element. Specify the folders using ABSOLUTE pathnames and always include the trailing / On Wed, Jul 31, 2019, 11:01 AM Rich Shepard wrote: > On Wed, 17 Jul 2019, tomas.kuchta.li...@gmail.com wrote: > > > you can use --exclude dirOrFileName multiple times - it will form a list > > From the target machine I tried to rsync all of my home directory from > salmo, except for the data/ subdirectory but my syntax is wrong. On the > source host data/ is a subdirectory under ~/. On the target host it's a > different partition, /data. > > rsync -av --exclude=data/ salmo:* . > > skips all ~/ and copies over no files. > > What's the correct syntax for this? > > Regards, > > Rich > > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
On Wed, 31 Jul 2019, Ben Koenig wrote: Is it a gnome keyring prompt? That's usually what people see for googs earths. Ben, No clue. The text in the dialog box reads, "Choose password for new keyring. An application wants to create a newkeyring called 'Default' enter the password you want to use." There are two text entry widgets for the password. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] TOMORROW: Portland Linux/Unix Group: Introduction to Ansible
Portland Linux/Unix Group General Meeting Announcement Who: Larry Brigman What: Introduction to Ansible or why you too should be doing infrastructure as code Where: PSU, 1930 SW 4th Ave. Room FAB 86-01 (Lower Level) When: Thursday, August 1st, 2019 at 7pm Why: The pursuit of technology freedom Stream: http://pdxlinux.org/live Automation and configuration management is hard when the tools you use don't provide the basics. Ansible is built from the ground up to always handle and check the error conditions. Come learn a little Ansible and see how you can start on your path toward using Infrastructure as Code. About Larry First Experience with computers was a TRS-80 with a cassette tape. Since then used or developed on everything from microcontrollers to mainframes. Currently developing on for Linux using Ansible and OpenShift. Calagator Page: http://calagator.org/events/1250475927 Many will head to the Lucky Lab at 1945 NW Quimby St. after the meeting. Rideshares to the Lucky Lab available PLUG is open to everyone and does not tolerate abusive behavior on its mailing lists or at its meetings. PLUG Page with information about all PLUG events: http://pdxlinux.org/ Follow PLUG on Twitter: http://twitter.com/pdxlinux Michael Dexter PLUG Volunteer ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Strange Google Earth exit behavior
Is it a gnome keyring prompt? That's usually what people see for googs earths. On Wed, Jul 31, 2019, 10:18 AM Rich Shepard wrote: > The latest SBo offering for 64-bit Google Earth is installed on the new > 64-bit desktop and works fine. Except, when I log out a dialog box opens > asking for which keypass password I want to use. > > As I've never before seen this behavior on the 32-bit desktop or the 64-bit > laptops I've no idea why it pops up and cannot find a place within GE to > turn it off. There's no problem with clicking the 'Cancel' button yet not > having it display is preferable. > > Any ideas? > > Rich > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Copying to new host, excluding a directory tree
On Wed, 17 Jul 2019, tomas.kuchta.li...@gmail.com wrote: you can use --exclude dirOrFileName multiple times - it will form a list From the target machine I tried to rsync all of my home directory from salmo, except for the data/ subdirectory but my syntax is wrong. On the source host data/ is a subdirectory under ~/. On the target host it's a different partition, /data. rsync -av --exclude=data/ salmo:* . skips all ~/ and copies over no files. What's the correct syntax for this? Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ping works but rsync and ssh don't
Check the permissions on your ~/.ssh directory. Should be 700. > Your actual command line would be a good place to start. > > On Wed, Jul 31, 2019 at 10:25 AM Rich Shepard > wrote: > >> A strange behavior just appeared on the LAN. After setting ssh-add to >> both >> desktops after logging in I was able to scp a file from salmo (32-bit) >> to >> baetis (64-bit). A while later trying to rsync baetis' /data directory >> with >> salmo's data/ directory failed because of a broken pipe/host not found >> error >> message. Same result trying to ssh from baetis to salmo. Yet, pinging >> salmo >> from baetis works fine. >> >> Where do I start looking for the reason? >> >> Rich >> >> ___ >> PLUG mailing list >> PLUG@pdxlinux.org >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > Q: Why do programmers confuse Halloween and Christmas? A: Because OCT 31 == DEC 25. ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ping works but rsync and ssh don't [FIXED]
On Wed, 31 Jul 2019, Russell Senior wrote: Your actual command line would be a good place to start. Russell, I was just about to post the attempt and that's when I saw the syntax error. Mea culpa! Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ping works but rsync and ssh don't
Your actual command line would be a good place to start. On Wed, Jul 31, 2019 at 10:25 AM Rich Shepard wrote: > A strange behavior just appeared on the LAN. After setting ssh-add to both > desktops after logging in I was able to scp a file from salmo (32-bit) to > baetis (64-bit). A while later trying to rsync baetis' /data directory with > salmo's data/ directory failed because of a broken pipe/host not found > error > message. Same result trying to ssh from baetis to salmo. Yet, pinging salmo > from baetis works fine. > > Where do I start looking for the reason? > > Rich > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Ping works but rsync and ssh don't
A strange behavior just appeared on the LAN. After setting ssh-add to both desktops after logging in I was able to scp a file from salmo (32-bit) to baetis (64-bit). A while later trying to rsync baetis' /data directory with salmo's data/ directory failed because of a broken pipe/host not found error message. Same result trying to ssh from baetis to salmo. Yet, pinging salmo from baetis works fine. Where do I start looking for the reason? Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] Strange Google Earth exit behavior
The latest SBo offering for 64-bit Google Earth is installed on the new 64-bit desktop and works fine. Except, when I log out a dialog box opens asking for which keypass password I want to use. As I've never before seen this behavior on the 32-bit desktop or the 64-bit laptops I've no idea why it pops up and cannot find a place within GE to turn it off. There's no problem with clicking the 'Cancel' button yet not having it display is preferable. Any ideas? Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug