🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Marc Alcide Fri, 28 Apr 2000 00:00
multi-file rename utility
#196
Author: Marc Alcide
Date: Fri, 28 Apr 2000 00:00
8 lines
798 bytes
Hello,

Ik zoek een tool om (in mijn geval) 5381 files te hernoemen van
name.mp3 naar name-nl.mp3

Dank bij voorbaat
Marc Alcide
marc.alcide@mechelen.be
Re: multi-file rename utility
#197
Author: Jaco & Wiarda
Date: Fri, 28 Apr 2000 00:00
9 lines
966 bytes
http://winfiles.cnet.com/apps/98/file-repair.html

ik gebruik zelf "rename it", werkt prima...

Hoi,

Jaco
| Ik zoek een tool om (in mijn geval) 5381 files te hernoemen van
| name.mp3 naar name-nl.mp3
Re: multi-file rename utility
#198
Author: Hennes Passmann
Date: Fri, 28 Apr 2000 00:00
25 lines
1425 bytes
In nl.comp.overig Marc Alcide <marc.alcide@mechelen.be> wrote:
> Hello,

> Ik zoek een tool om (in mijn geval) 5381 files te hernoemen van
> name.mp3 naar name-nl.mp3

Gebruik een shell script:
for a in *mp3; do mv $a `echo $a | cut -d. -f1`-nl.mp3 ;done

Uitleg:
 for a in *mp3  selecteerd alle bestanden in de dir die eindigen op mp3
 mv             move 'oude_naam' 'nieuwe_naam'
 echo $a laat de naam van de huidige file zien
 cut 'knipt' daar een stuk vanaf (in dit geval alles na de punt

Dit script werkt zowel onder BSD, linux en vast ook op een tiental anndere
unix varianten. Als je ms-windows gebruikt, mount dan partitie met de MP3s
op een unix bak (bv samba) of installeerd cygnus utils en soortgenoten.

>  Dank bij voorbaat
> Marc Alcide
> marc.alcide@mechelen.be

-- 
Hennes@stack.nl
Re: multi-file rename utility
#199
Author: houghi
Date: Fri, 28 Apr 2000 00:00
13 lines
1310 bytes
On 28 Apr 2000 17:31:47 GMT, Hennes Passmann wrote:
>
>Uitleg:
> for a in *mp3  selecteerd alle bestanden in de dir die eindigen op mp3
Ook Subdirectories?

--  
houghi
		http://www.houghi.org	http://www.PizzaDrivers.org
From RFC 1855 (Netiquette Guidelines):       If you are sending a reply to
a message or a posting be sure you summarize the original at the top of
the message, or include just enough text of the original to give a context.
>              RFC 1855 can be found at http://www.mbh.org/rfc/rfc1855.txt
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads