Re: "(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .

2023-03-11 Thread Albretch Mueller
On 3/11/23, Greg Wooledge wrote: ... > Hmm, that didn't work either. Now it's time to read the documentation. > (read, read, read) > OK, here we go: > > unicorn:/tmp/src$ rsync -a --include="*/" --include="*.foo" > --include="*.bar" --exclude="*" . /tmp/dest/ > unicorn:/tmp/src$ find /tmp/dest >

Re: "(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .

2023-03-11 Thread Greg Wooledge
OK. Let me just discard every single piece of quoted content from this thread, because none of it makes ANY sense. Here is what I see in the Subject: header: 1) Some piece of the verbose output of rsync, for unknown reason. 2) A question about how to do a specific task with rsync. At some point

Re: "(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .

2023-03-11 Thread Albretch Mueller
On 3/11/23, Dan Ritter wrote: > Albretch Mueller wrote: >> The one liner reporting that error is: >> >> time( sudo rsync --rsync-path="/usr/local/bin/rsync" --debug=ALL >> --archive --verbose --compress --recursive --checksum --include="*/" >> --include=".${_X}" --exclude="*" --prune-empty-dir

Re: "(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .

2023-03-11 Thread Dan Ritter
Albretch Mueller wrote: > The one liner reporting that error is: > > time( sudo rsync --rsync-path="/usr/local/bin/rsync" --debug=ALL > --archive --verbose --compress --recursive --checksum --include="*/" > --include=".${_X}" --exclude="*" --prune-empty-dirs "${_SRC}" > "${_DST}" 1> "${_LOG

"(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .

2023-03-11 Thread Albretch Mueller
The one liner reporting that error is: time( sudo rsync --rsync-path="/usr/local/bin/rsync" --debug=ALL --archive --verbose --compress --recursive --checksum --include="*/" --include=".${_X}" --exclude="*" --prune-empty-dirs "${_SRC}" "${_DST}" 1> "${_LOG_FL}" 2> "${_ERRS_LOG}" ) >> "${_TM_L

Re: file extensions -- batch mv'ing, mp3s

1999-07-26 Thread Brian Servis
*- On 26 Jul, Buddha Buck wrote about "Re: file extensions -- batch mv'ing, mp3s " >> >> >> >> $ for x in *;do mv -iv "$x" `echo "$x"|sed -e 's/MP3$/mp3/'`;done >> > >> > bash$ for i in *.MP3; do mv $i $

Re: file extensions -- batch mv'ing, mp3s

1999-07-26 Thread Buddha Buck
> >> > >> $ for x in *;do mv -iv "$x" `echo "$x"|sed -e 's/MP3$/mp3/'`;done > > > > bash$ for i in *.MP3; do mv $i ${i%.MP3}.mp3; done > > mmv '*.MP3' '#1.mp3' Nice, but mmv isn't a standard Unix command. mv, echo, sed, and sh/bash are. -- Buddha Buck [EMAIL PROTE

Re: file extensions -- batch mv'ing, mp3s

1999-07-26 Thread Brian Servis
*- On 26 Jul, Buddha Buck wrote about "Re: file extensions -- batch mv'ing, mp3s " >> >> To change .MP3 to .mp3 in a given directory, I do this (anyone know an >> easier/more efficient way?): >> >> $ for x in *;do mv -iv "$x" `echo "

Re: file extensions -- batch mv'ing, mp3s

1999-07-26 Thread Buddha Buck
> > To change .MP3 to .mp3 in a given directory, I do this (anyone know an > easier/more efficient way?): > > $ for x in *;do mv -iv "$x" `echo "$x"|sed -e 's/MP3$/mp3/'`;done > I usually do something like this: bash$ for i in *.MP3; do mv $i ${i%.MP3}.mp3; done I don't know if ${var%pattern}

Re: file extensions

1999-07-26 Thread Samuel R. Scarano
> This worked in my "test" directory, but once I became root and tried it, it seemed to Why did you have to become root? It sounds like you need to use the uid and gid options in the fstab entry for your windows partition. > only mess with my "locate" command I say this because before running

Re: file extensions -- batch mv'ing, mp3s

1999-07-26 Thread Samuel R. Scarano
> related to that, is this: is there an easy way ( a quick command or > script) to covert all the .MP3's to .mp3. Strangly enough "mv" doesn't > differentiate between .mp3 and .MP3, so I need to change the name to a > temporary file first, which makes the task all the more annoying. That's becau

Re: file extensions

1999-07-26 Thread Aaron Solochek
3/Pearl Jam) Where these paths are the ones I tried the mmv command in. What happened? -Aaron Solochek [EMAIL PROTECTED] Brian Servis wrote: > *- On 30 Jul, Aaron Solochek wrote about "file extensions" > > are .MP3 and therefor not recognized as a music file. Questio

Re: file extensions

1999-07-26 Thread Brian Servis
*- On 30 Jul, Aaron Solochek wrote about "file extensions" > are .MP3 and therefor not recognized as a music file. Question two, > related to that, is this: is there an easy way ( a quick command or > script) to covert all the .MP3's to .mp3. Strangly enough "mv&quo

file extensions

1999-07-26 Thread Aaron Solochek
I am using slink and gnome, and I have a two questions. First of all, How can I add a mime using the gnome control center. Some of my mp3's are .MP3 and therefor not recognized as a music file. Question two, related to that, is this: is there an easy way ( a quick command or script) to covert a