From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,ab9fc7e46e768a96,start X-Google-Attributes: gid10d4db,public From: "Robert V. Schipper" Subject: ren v.1.0: rename multiple files in a single command Date: 1997/04/02 Message-ID: #1/1 X-Deja-AN: 230219084 X-Server-Date: 2 Apr 1997 20:04:42 GMT Followup-To: comp.os.linux.misc Old-Date: Tue, 1 Apr 1997 01:47:39 +0800 (CST) Organization: none X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- I have uploaded to sunsite.unc.edu a port to Linux of ren, a small utility (originally written by Vladimir Lanin in 1988) allowing renaming of multiple files in the current directory with a single command, which can not be done directly with mv. Those who tend to make typing errors in things like ls -d *.new | sed 's/\(.*\)\.new$/mv & \1.old/' | sh can now do simply ren "*.new" #1.old Following is the lsm entry - ---------------------------------------------------------------------- Begin3 Title: ren Version: 1.0 Entered-date: 31MAR97 Description: Renames multiple files in a directory according to search and replacement patterns. ren checks for replacement name collisions and handles rename chains gracefully. Keywords: rename, utility, system Author: Vladimir Lanin Maintained-by: Robert V. Schipper Primary-site: sunsite.unc.edu /pub/Linux/system/misc 8587 ren-1.0.tar.gz Alternate-site: Original-site: Platforms: Port to Linux, but should compile easily on any other platform Copying-policy: Public domain End - ------------------------------------------------------------------------ Rob Schipper - -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBM0K70oQRll5MupLRAQGZTQQAgQwQS8s2F+V2U5FWIsABoFMG3pqbLVmG hhETgIToEAn3ZWfWQ3lj7Ysr+q/xEyJJaA0iV3xTxQmiAGRY2+LejedMiNRTygC0 uvPsnSlFW0D4JIMWiWMn7dxvWFZsLLkB+oIIi4l6NZkm/h0L6agCzD3vv16eTVXO mHUXgXQi/Uw= =rPWC -----END PGP SIGNATURE-----