home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 7,919 of 10,769   
   diesch@spamfence.net to All   
   Re: My ubuntu experience   
   20 Jan 07 18:30:12   
   
   Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.n   
   c.net!newsfeed.freenet.de!news.albasani.net!dieschf.news.arcor.de!not-for-mail   
   From: Florian Diesch    
   Newsgroups: alt.comp.freeware,alt.os.linux.ubuntu   
   Subject: Re: My ubuntu experience   
   Date: Sun, 21 Jan 2007 00:30:11 +0100   
   Organization: albasani.net   
   Lines: 24   
   Message-ID: <20070120233015.2083.5.NOFFLE@dieschf.news.arcor.de>   
   References: <1vrbauo6y9whr.62zxagpyjwro$.dlg@40tude.net>   
       
       
       
    <1ct3eit29ohji$.1fdstpgp7b8w4.dlg@40tude.net>   
    <518068F1j92iaU1@mid.individual.net>   
    <4iArh.32832$k74.3454@text.news.blueyonder.co.uk>   
     <519ohvF1jdrt4U1@mid.individual.net>   
       
       
    <8dmdncmCAM7X0izYnZ2dnUVZ_vGinZ2d@giganews.com>   
       
   Reply-To: Florian Diesch    
   Mime-Version: 1.0   
   Content-Type: text/plain; charset=iso-8859-1   
   Content-Transfer-Encoding: 8bit   
   X-Trace: news.albasani.net 8uoWy0OE2ILqKNXUstQGwLIhTFDHxKEb1BStc   
   C8d+nIm3DIMnBaIrJa10DDsc0AyR0OO6TgNQamvccCde+imOhKU+0MeOr0TYsfR0   
   R82DWUIpC+AbW3l6kWV3lycgW   
   X-Complaints-To: abuse@albasani.net   
   NNTP-Posting-Date: Sun, 21 Jan 2007 14:00:06 +0000 (UTC)   
   X-User-ID: s2xAkzTh9jVdLAfJFzSxNu46yRZtpWf+43doQ9230oI=   
   User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)   
   X-NNTP-Posting-Host: 4k1P+etVeRB5NYjV2J1ZaTXRPKuoQSY6uMyj6xpjGEQ   
   bEjWb9ArKQsqVwLF64jZL93XPCeLA8D1vlC/xiRJ7g==   
   Xref: number1.nntp.dca.giganews.com alt.comp.freeware:547925 alt   
   os.linux.ubuntu:8624   
      
   Michel Firholz  wrote:   
      
   > On Fri, 19 Jan 2007 17:07:54 -0600, Topaz_Crow wrote:   
   >   
   >> ...But how about a right   
   >> click menu to rename thousands of text files by stripping the spaces   
   >> and special characters from the current filename, replacing the spaces   
   >> with underscores, prepending "log", appending a number starting with   
   >> 0000001 and capitalizing the extension?   
   >>    
   > Would you please mind to give me a copy of that cli command(s)?   
      
   Something like this (not tested):   
      
   num=1   
   find /some/dir -type f | while read old; do   
    new="log$(echo "$old"|tr ' ' _ |tr -d '\'´?')$(printf '%07d\n' $num)"   
    mv "$old" "$new"   
    num=$((num+1))   
   done   
      
      Florian   
   --    
      
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca