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 <-- 11 March 2008
Previous message:
Subject: changing names of many files
From: Raja Dey deyraja1 {- at -} YAHOO {- dot -} CO {- dot -} IN
Date: 2008-03-11
Next 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


Subject: Re: changing names of many files
From: William Scott wgscott {- at -} CHEMISTRY {- dot -} UCSC {- dot -} EDU
Date: 2008-03-11

Install zsh.

Then invoke it.

Then issue:

autoload -U zmv
alias mmv='noglob zmv -W'

Then you are ready for some fun:


mmv 1105 A*.osc A*.osc

Then if you decide to make your default shell zsh, you can put that in
your .zshrc file and all you have to remember in the future is mmv



Raja Dey wrote:
> Hi,
> How I can change names of many files keeping the extension same. My files
> are like this
>
> 1105 A0176.osc
> 1105 A0177.osc
> 1105 A0178.osc
> 1105 A0179.osc
> 1105 A0180.osc
>
> I want to change them as
>
> A0176.osc
> A0177.osc
> A0178.osc
> A0179.osc
> A0180.osc
>
> I am using ubuntu linux.
>
> Thanks...
> RD
>
>
>
> Raja Dey, Ph.D.
> Research Associate
> Molecular and Computational Biology
> University of Southern California
> 1050 Childs Way, Los Angeles, CA 90089
>
>
> ---------------------------------
> Chat on a cool, new interface. No download required. Click here.

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 11 March 2008
Previous message:
Subject: changing names of many files
From: Raja Dey deyraja1 {- at -} YAHOO {- dot -} CO {- dot -} IN
Date: 2008-03-11
Next 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



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