Quick navigation:        Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |   
Protein structure
 

Re: [ccp4bb] changing names of many files

 

Basic tutorials:
 
 

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 12 March 2008
Previous message:
Subject: Feature of CCP4i for 6.0.99 (SIGF/Weight label menu)
From: Serge Cohen s {- dot -} cohen {- at -} NKI {- dot -} NL
Date: 2008-03-12
Next message:
Subject: Re: changing names of many files
From: Tim Gruene tg {- at -} SHELX {- dot -} UNI-AC {- dot -} GWDG {- dot -} DE
Date: 2008-03-12


Subject: Re: changing names of many files
From: Rajesh Kumar Singh singhrk {- at -} UNI-GREIFSWALD {- dot -} DE
Date: 2008-03-12

for me following works (just an example):
The objective was to remane all 336 images files to 760D6a0001(to 336).img
to 760D6a0_001(to _336).img

Just save the script below (like filename.com) and run as sh filename.com
***************************************************************
for i in 760D6a0***.img
do
mv $i ${i%760D6a0***}760D6a0_${i#760D6a0}
done
****************************************************************

Rajesh


On Wednesday 12 March 2008 02:32, Raja Dey wrote:
> CCP4BB@jiscmail.ac.uk

--
Rajesh Kumar Singh, PhD
Institut fur Biochemie
Universitat Greifswald
Felix-Hausdorff-Str. 4
D-17489 Greifswald
Germany

E.Mail: singhrk@uni-greifswald.de
Phone: +49-3834- 86 4392

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 12 March 2008
Previous message:
Subject: Feature of CCP4i for 6.0.99 (SIGF/Weight label menu)
From: Serge Cohen s {- dot -} cohen {- at -} NKI {- dot -} NL
Date: 2008-03-12
Next message:
Subject: Re: changing names of many files
From: Tim Gruene tg {- at -} SHELX {- dot -} UNI-AC {- dot -} GWDG {- dot -} DE
Date: 2008-03-12



ProteinCrystallography.org: Copyright 2006-2008 by Quid United Ltd