From: kevan Date: Mon, 20 Jul 2009 03:45:03 +0000 (-0700) Subject: Update tahoe mv help text. X-Git-Tag: allmydata-tahoe-1.5.0~26 X-Git-Url: https://git.rkrishnan.org/simplejson/somewhere?a=commitdiff_plain;h=36f2e012756b65a4b65a95770048a99cee0f9b3c;p=tahoe-lafs%2Ftahoe-lafs.git Update tahoe mv help text. --- diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py index 69d96c8d..838958fa 100644 --- a/src/allmydata/scripts/cli.py +++ b/src/allmydata/scripts/cli.py @@ -219,6 +219,13 @@ class MvOptions(VDriveOptions): def getSynopsis(self): return "%s mv FROM TO" % (os.path.basename(sys.argv[0]),) + longdesc = """ + Use 'tahoe mv' to move files that are already on the grid elsewhere on the grid, e.g., 'tahoe mv alias:some_file alias:new_file'. + + If moving a remote file into a remote directory, you'll need to append a '/' to the name of the remote directory, e.g., 'tahoe mv tahoe:file1 tahoe:dir/', not 'tahoe mv tahoe:file1 tahoe:dir'. + + Note that it is not possible to use this command to move local files to the grid -- use 'tahoe cp' for that. + """ class LnOptions(VDriveOptions): def parseArgs(self, frompath, topath):