The rename command...

Johnny Rosenberg gurus.knugum at gmail.com
Thu Aug 28 10:41:04 UTC 2008


2008/8/28 Johnny Rosenberg <gurus.knugum at gmail.com>

> 2008/8/28 Rashkae <ubuntu at tigershaunt.com>
>
>> Johnny Rosenberg wrote:
>>
>> >
>> >
>> > If you refer to me, I'm sorry to waste your summer. I only ask questions
>> > because I want to learn.
>> > When first starting to use computers, if we do not count the very first
>> > years with a Swedish computer (Luxor ABC80) with a Basic interpreter and
>> the
>> > operating system CP/M, I was actually learning the operating system
>> Primos
>> > on a Prime 750, I think, at the university in the second half of the
>> > eighties. The terminals were PT200. After they threw that out (except
>> the
>> > terminals), they got a Unix machine, and that is what I consider my
>> first
>> > real computer experience. That was a long time ago and after only a few
>> > years I started to use Windows, just because wherever I was there was
>> > Windows. After a while I got my own PC in 1999. OS? Windows 98. Some
>> friends
>> > also gave me a few pirate CDs with Windows 2000 and XP, yes, even ME. I
>> > tried those, but after a while I thought I'd better stop doing those
>> pirate
>> > things, so I went back to Windows 98, which came with my PC. When I
>> bought
>> > my laptop at the end of 2006, Windows XP was preinstalled, but in summer
>> > 2007 I installed Ubuntu 7.04 on it, after schrinking the Windows
>> partition
>> > to about 15 GB. I only wanted XP for two reasons: I paid for it and
>> "just in
>> > case I will need it some time". So far I started up Windows maybe 5
>> times or
>> > so, and it annoyed me every time.
>> > Anyway, I used mv since about 1988 and I am not sure I ever used rename
>> in
>> > DOS. Maybe a few times.
>> > This question was, however, more a question about regular expression and
>> > piping and things like that. The thing I wanted to do was to rename a
>> lot of
>> > links, making the annoying "Link to " thing disappear. I searched the
>> link
>> > using keywords like "rename" etc, not to look for a command with that
>> name,
>> > only because I thought that word should be mentioned in a text
>> describing
>> > how to batch rename files. I accidently found that rename command, which
>> I
>> > had no idea about before that. I read a little about it, but it seemed
>> like
>> > there was no -r or --recursive option, so I asked here for a better
>> command
>> > or set of commands for piping or whatever, maybe even a script. I think
>> I
>> > was quite open minded about the whole thing, even if that doesn't seem
>> clear
>> > when reading my first post in this thread.
>> > Now I got a few replies which I am very happy with. I now have a few
>> > solutions for my task and I even timed them to see which one is the
>> fastest,
>> > and I even gave my results here, just in case someone would be
>> interested to
>> > know, even if I doubt it.
>> > So now I can get my job done and I learned a lot at the same time, which
>> I
>> > feel is a really great bonus. If I wonder the same thing again, I can
>> just
>> > search for this thread and refresh my memory.
>> > Thanks to all who contributed with suggestions, ideas, information and
>> > opinions.
>> > So Karl, I think that you won't see much of this subject in the nearest
>> > future, and I'm sorry for thinking that rename was a Linux standard
>> command.
>> > Well, actually I didn't, but well... my English is not very good and so
>> on,
>> > and I guess I couldn't find a better word at that time. Actually I still
>> can
>> > not... especially not when I also want to keep subjects short.
>> >
>>
>> Please don't change what you were doing on behalf of Karl.. just look at
>> what he did.. he hijacked your thread to declare it a waste of time and
>> change the discussion to his own Linux vs Windows vs Mac bullcrap that
>> doesn't even belong on this list.  It's not the first time I've had
>> urges to Lart the unwelcome pest in our discussion, but he keeps turning
>> up like a bad penny (and at times, even a good penny, really depends on
>> the day.)
>
> Maybe I just didn't have to include the history of my computer life, but it
> felt like I just had to say that I'm NOT a Windows guy who switched to Linux
> and now expects Linux to behave as Windows. I was a Unix user before I even
> heard of Windows (3.1…), not a very advanced user maybe, I used it to my
> school work, writing and compiling programs in c, pascal and fortran77 using
> emacs and documenting using WordMarc Composer, a word processor that no one
> remembers today… We actually had a few PCs (they were called IBM XT and IBM
> AT if I remember correctly, AT was faster than XT) running DOS and a year or
> two later running Windows.
>
No, that was not the same computers. I think the WIndows computers were 386
machines and the year was probably 1988 or later.


> The only thing I did with the Windows machines was logging in to the Unix
> machine, continuing doing my work there. A few times I tried to use Word
> 2.0, as I remember it. I liked the Wysiwyg thing, which wasn't possible on
> the text-only PT200 terminals.
> I'm also a keyboard guy, I don't use the mouse if I know of a keyboard
> shortcut that does the same thing. However, I'm often just too lazy to find
> out if there is…
> Oops, there was more history of my computer life… a little nostalgia, I
> guess…
> Anyway, I got what I wanted from this thread, so I won't write much more
> about this for now. Thanks again, all you guys who helped me out.
> J.R.
>
>
>>
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080828/3d16b074/attachment.html>


More information about the ubuntu-users mailing list