Results 1 to 5 of 5
Hello, I need help with renaming my directory
My current path is
/sequences/proteins/sequences/original_sequences
and i would like to drop the second directory of "sequences" and would like it as
/sequences/proteins/original_sequences
...
- 05-17-2011 #1Just Joined!
- Join Date
- May 2011
- Location
- Germany
- Posts
- 5
renaming/overlapping directory
Hello, I need help with renaming my directory
My current path is
/sequences/proteins/sequences/original_sequences
and i would like to drop the second directory of "sequences" and would like it as
/sequences/proteins/original_sequences
any idea ?
Thank you,
Regards,
Nandini
- 05-17-2011 #2
Just move it?
Code:man mv
You must always face the curtain with a bow.
- 05-17-2011 #3Just Joined!
- Join Date
- May 2011
- Location
- Germany
- Posts
- 5
thanks. do i just need to type "mv sequences original_sequences" ??
wont that create
/sequences/proteins/original_sequences/original_sequences
the directory of original_sequences has files in it.
- 05-17-2011 #4
Given the information up to now, this might do the trick
If all happens on the same filesystem, it will be an instant action.Code:mv /sequences/proteins/sequences/original_sequences /sequences/proteins/
Please make sure, that no applicatons access this directory on the files in it while moving.
Code:lsof |grep "/sequences/proteins/sequences/original_sequences"
You must always face the curtain with a bow.
- 05-17-2011 #5Just Joined!
- Join Date
- May 2011
- Location
- Germany
- Posts
- 5
great, thanks a lot...
mv /sequences/proteins/sequences/original_sequences /sequences/proteins/
worked for me!!


Reply With Quote