Renames a file on a cloudfiles-managed S3-style bucket. Requires permission to write to the bucket.
Arguments:
file_path
new_name
INPUT:
import tracertools as tt tt.bucket_rename_file( file_path = "bucket://path/to/old_filename" new_name = "new_filename" )
This will change the file's absolute path from bucket://path/to/old_filename to bucket://path/to/new_filename
bucket://path/to/old_filename
bucket://path/to/new_filename
There was an error while loading. Please reload this page.