On 15-Jan-2001 Tony Mueller opined:
> Hello,
> 
> I would like to rename a large directory without a copy taking place.
> (i dont have disk space for both directories to exist at the same time)
> the command:
> mv olddir newdir
> makes newdir first and copies all the files from olddir into it.

Are they on the same partition? If so, it shouldn't cause duplicate
copies of anything, simply switch names on the directory, even if the
directory is in some other subdirectory on the same partition. If
they're on separate partitions, I fail to see what the problem would be
with temporarily having both exist for a short time. I mean, if you move
the directory from A to B, A already has it on there & won't take any more
space, and B has room or it wouldn't move there in the first place. 

-- 
99% of lawyers give the rest a bad name.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to