public void move ( String sourceDir , String targetDir ) throws IOException { validatePathname ( sourceDir ) ; validatePathname ( targetDir ) ; Files . move ( Paths . get ( getStorageDir ( ) + File . separator + sourceDir ) , Paths . get ( getStorageDir ( ) + File . separator + targetDir ) ) ; }
Move directories in FileStore Pleae provide the path from the relative root of the fileStore