Re: [PLUG] git not recognizing 'branch' command [FIXED]
git branch -r command does the command on the remote repo, everything else works local. For example git branch lists the branches on the local repo git branch -r lists the branches on the remote repo On Thu, May 4, 2023 at 3:53 PM Rich Shepard wrote: > On Thu, 4 May 2023, c wrote: > > > What command are you using? > > Purcell, > > git master -m main > > That's supposed to work locally > > > I tried: > > git branch -m master main > > and it worked in a quick test on my machine. > > It worked here, too. I thougt it was for remote repos, not local ones. > Apparently it works for both. > > Thanks, > > Rich >
Re: [PLUG] git not recognizing 'branch' command [FIXED]
On Thu, 4 May 2023, c wrote: What command are you using? Purcell, git master -m main That's supposed to work locally I tried: git branch -m master main and it worked in a quick test on my machine. It worked here, too. I thougt it was for remote repos, not local ones. Apparently it works for both. Thanks, Rich
Re: [PLUG] git not recognizing 'branch' command
What command are you using? I tried: git branch -m master main and it worked in a quick test on my machine. Purcell On Thu, May 4, 2023 at 3:19 PM Rich Shepard wrote: > I'm trying to rename the 'master' branch to 'main' on a laptop directory. > Git tells me that 'master' is not a git command, while 'git branch' shows > the only branch as 'master.' > > Why might this be? > > Rich > -- Darkness spoons with you.
[PLUG] git not recognizing 'branch' command
I'm trying to rename the 'master' branch to 'main' on a laptop directory. Git tells me that 'master' is not a git command, while 'git branch' shows the only branch as 'master.' Why might this be? Rich
Re: [PLUG] Renaming file with back slashes and spaces
Sent with Proton Mail secure email. --- Original Message --- On Thursday, May 4th, 2023 at 10:45 AM, Rich Shepard wrote: > On Thu, 4 May 2023, Russell Senior wrote: > > > The filename does NOT have backslashes, just spaces. The backslashes are > > displayed to quote the spaces. That is, show that the spaces are part of > > the filename instead of whitespace delimiters between different filenames. > > > Thank you. For future reference, tab completion will probably fill it in for you automatically. At least it does on my machine for file names with spaces. > > Rich
[PLUG] Domain for Asterisk hackers?
Howdy! I reserved the "asterhack.org" domain when I was thinking of starting an "Asterisk Hackers" group for voice over IP enthusiasts. I am terrible at follow-through so that never happened. Before I let a domain reseller drop-catch it and sit on it forever, would anyone here be interested in taking it over? It's currently on joker.com. Thanks, (another) Aaron
Re: [PLUG] Renaming file with back slashes and spaces
On Thu, 4 May 2023, Russell Senior wrote: The filename does NOT have backslashes, just spaces. The backslashes are displayed to *quote* the spaces. That is, show that the spaces are part of the filename instead of whitespace delimiters between different filenames. Thank you. Rich
Re: [PLUG] Renaming file with back slashes and spaces
Ha! I completely missed that Richard was quoting the \ chars. On Thu, May 4, 2023 at 10:01 AM Russell Senior wrote: > The filename does NOT have backslashes, just spaces. The backslashes are > displayed to *quote* the spaces. That is, show that the spaces are part of > the filename instead of whitespace delimiters between different filenames. > > On Thu, May 4, 2023, 08:39 Rich Shepard wrote: > > > I have a file from an agency in which words are sepatated by back slashes > > and spaces. Wrapping the name in double quotes (as user and root) fails: > > > > [root@caddis /home/rshepard/projects# mv "Topo\ TNM\ Style\ Template\ > > Users\ Guide.pdf" Users-Guide.pdf > > mv: cannot stat 'Topo\ TNM\ Style\ Template\ Users\ Guide.pdf': No such > > file or directory > > > > What have I missed? > > > > TIA, > > > > Rich > > > > >
Re: [PLUG] Renaming file with back slashes and spaces
The filename does NOT have backslashes, just spaces. The backslashes are displayed to *quote* the spaces. That is, show that the spaces are part of the filename instead of whitespace delimiters between different filenames. On Thu, May 4, 2023, 08:39 Rich Shepard wrote: > I have a file from an agency in which words are sepatated by back slashes > and spaces. Wrapping the name in double quotes (as user and root) fails: > > [root@caddis /home/rshepard/projects# mv "Topo\ TNM\ Style\ Template\ > Users\ Guide.pdf" Users-Guide.pdf > mv: cannot stat 'Topo\ TNM\ Style\ Template\ Users\ Guide.pdf': No such > file or directory > > What have I missed? > > TIA, > > Rich > >
Re: [PLUG] Renaming file with back slashes and spaces [FIXED]
On Thu, 4 May 2023, Johnathan Mantey wrote: Rich, I had to double check past history to confirm you use a Lisp environment that includes an editor (Emacs). You could also use `dired` to rename space delimited filenames. Other aficionados consider `dired` a killer feature of Emacs. I like to use it, and at the same time it has not become indispensable. Johnathan, Yes, I use emacs for most editing, but joe in a v.t. for small jobs such as renaming files. Thanks, Rich
Re: [PLUG] Renaming file with back slashes and spaces [FIXED]
Rich, I had to double check past history to confirm you use a Lisp environment that includes an editor (Emacs). You could also use `dired` to rename space delimited filenames. Other aficionados consider `dired` a killer feature of Emacs. I like to use it, and at the same time it has not become indispensable. On Thu, May 4, 2023 at 8:55 AM Rich Shepard wrote: > On Thu, 4 May 2023, Michael Ewan wrote: > > > Do an 'ls -b' to see if there are any 8-bit characters in the name. > > You can also do 'mv Topo*pdf user-guide.pdf' > > Michael, > > The `ls -b' failed; the mv worked. I forgot about that. > > Thanks, > > Rich > > >
Re: [PLUG] Renaming file with back slashes and spaces [FIXED]
On Thu, 4 May 2023, Michael Ewan wrote: Do an 'ls -b' to see if there are any 8-bit characters in the name. You can also do 'mv Topo*pdf user-guide.pdf' Michael, The `ls -b' failed; the mv worked. I forgot about that. Thanks, Rich
Re: [PLUG] Renaming file with back slashes and spaces
Do an 'ls -b' to see if there are any 8-bit characters in the name. You can also do 'mv Topo*pdf user-guide.pdf' On Thu, May 4, 2023 at 8:39 AM Rich Shepard wrote: > I have a file from an agency in which words are sepatated by back slashes > and spaces. Wrapping the name in double quotes (as user and root) fails: > > [root@caddis /home/rshepard/projects# mv "Topo\ TNM\ Style\ Template\ > Users\ Guide.pdf" Users-Guide.pdf > mv: cannot stat 'Topo\ TNM\ Style\ Template\ Users\ Guide.pdf': No such > file or directory > > What have I missed? > > TIA, > > Rich > >
[PLUG] Renaming file with back slashes and spaces
I have a file from an agency in which words are sepatated by back slashes and spaces. Wrapping the name in double quotes (as user and root) fails: [root@caddis /home/rshepard/projects# mv "Topo\ TNM\ Style\ Template\ Users\ Guide.pdf" Users-Guide.pdf mv: cannot stat 'Topo\ TNM\ Style\ Template\ Users\ Guide.pdf': No such file or directory What have I missed? TIA, Rich