public void process(String exename, String[] params) throws Exception {
log.debug("entered");
if (helpRequested()) {
PrintWriter out = new PrintWriter(new BufferWriter(getStdOut()));
out.print(" Usage:\n");
out.print(" mv [--help] [-ex] FILES DEST_DIR\n");
out.print(" FILES : files to be moved.\n");
out.print(" DEST_DIR : the directory for the specified files to be moved to.\n");
out.print(" mv [--help] [-ex] FILE DEST_FILE\n");
out.print(" FILE : file to be moved.\n");
out.print(" DEST_FILE : the file path where the specified file is going to be moved to.\n");
out.print(" -f force command, if one of the specified files does not exist then continue with the copying anyway.\n");
out.close();
log.debug("done");
return;
}
try {
PrintWriter out = new PrintWriter(new BufferWriter(getStdOut()));
VFS vfs = shell.getVFS();
FileName pwd = new FileName(shell.getEnvProperty("PWD"));
LinkedList paths = new LinkedList();
boolean force = false;