filesystems - Files.move(Path, Path) in Java -


by reading this tutorial, have come across part not quite clear me.

empty directories can moved. if directory not empty, move allowed when directory can moved without moving contents of directory.

i thoroughly understand empty directories can moved. second part of quote seems me little confusing. able express same concept in other words? in advance.

on unix systems, moving directory within same partition consists of renaming directory. in situation, method works when directory contains files.

this next sentence in link posted, provides example when possible use move if directory not empty.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -