source: trunk/j/src/bsh/commands/mv.bsh @ 2

Last change on this file since 2 was 2, checked in by piso, 18 years ago

Initial checkin.

File size: 186 bytes
Line 
1
2bsh.help.mv = "usage: mv( fromFile, toFile )";
3
4/*
5*/
6mv( String fromFile, String toFile )
7{
8    from = pathToFile( fromFile );
9    to = pathToFile( toFile );
10  from.renameTo( to );
11}
12
Note: See TracBrowser for help on using the repository browser.