bsh.util.commands.mv.bsh Maven / Gradle / Ivy
The newest version!
/**
Rename a file (like Unix mv).
*/
bsh.help.mv = "usage: mv( fromFile, toFile )";
mv( String fromFile, String toFile )
{
this.from = pathToFile( fromFile );
this.to = pathToFile( toFile );
from.renameTo( to );
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy