Lines Matching refs:RunCommand
94 self.RunCommand('cp', [src_file, suri(dst_bucket_uri)])
106 self.RunCommand('cp', [src_file0, src_file1, suri(dst_bucket_uri)])
128 self.RunCommand('cp', [src_file, suri(dst_bucket_uri, 'subdir/a')])
129 self.RunCommand('cp', [src_file, suri(dst_bucket_uri, 'subdir')])
144 self.RunCommand('cp', ['-R', src_dir_root, suri(dst_bucket_uri)])
160 self.RunCommand('cp', ['-R', 'dir0', suri(dst_bucket_uri)], cwd=src_dir)
179 self.RunCommand('cp', ['-R', os.path.join('dir0', 'dir1'),
195 self.RunCommand('cp', ['-R', os.path.join('dir0', 'dir1'),
207 self.RunCommand('cp', ['-R', os.path.join('dir0', 'dir1'),
222 self.RunCommand('cp', ['-R', rel_src_dir, suri(dst_bucket_uri)],
238 self.RunCommand('cp', ['-R', os.path.join(src_dir, 'dir0', 'dir1'),
251 self.RunCommand('cp', ['-R', suri(src_bucket_uri), dst_dir])
262 self.RunCommand('cp', ['-R', suri(src_bucket_uri), suri(dst_bucket_uri)])
274 self.RunCommand('cp', ['-R', src_dir, dst_dir])
287 self.RunCommand('cp', ['%s%s*' % (src_dir, os.sep), dst_dir])
297 self.RunCommand('cp', [src_file, dst_dir])
308 self.RunCommand('cp', [src_file, suri(dst_bucket_uri) + '//obj'])
318 self.RunCommand('cp', ['-z', 'txt', src_file, suri(dst_bucket_uri)],)
326 stdout = self.RunCommand('cat', [suri(dst_bucket_uri, 'f2.txt')],
339 self.RunCommand('cp', [suri(src_bucket_uri, 'obj'), suri(dst_bucket_uri)])
349 self.RunCommand('cp', [suri(src_bucket_uri, 'obj'),
363 self.RunCommand('cp', ['-R', suri(src_bucket_uri, '**'),
377 self.RunCommand('cp', [suri(src_bucket_uri, 'f1'), '.%s' % final_char],
394 self.RunCommand('cp', ['-R', suri(src_bucket_uri, '**'),
416 self.RunCommand('cp', ['-R', src_dir + '/dir1',
428 self.RunCommand('cp', [src_dir, dst_dir])
439 self.RunCommand('cp', [suri(src_bucket_uri, 'f1'), dst_dir])
451 self.RunCommand('cp', ['gs://', suri(src_bucket_uri)])
460 self.RunCommand('cp', [src_file, src_file])
469 self.RunCommand('cp', [suri(src_bucket_uri, 'obj0'),
480 self.RunCommand('cp', ['-R', suri(src_bucket_uri, '*'), dst_file])
494 self.RunCommand('cp', ['-R', suri(bucket_uri), dst_dir])
507 self.RunCommand('cp', [suri(src_uri), tmpdir + '/'])
518 self.RunCommand('mv', [suri(dst_bucket_uri, 'old*'),
531 self.RunCommand('ls', [suri(src_bucket_uri, 'obj')])
539 output = self.RunCommand('ls', [suri(src_bucket_uri, '*')],
554 output = self.RunCommand('ls', ['-R', suri(src_bucket_uri, '*')],
569 output = self.RunCommand('ls', ['-R', suri(dst_bucket_uri) + '*'],
580 output = self.RunCommand('ls', [suri(src_bucket_uri, 'src_subdir')],
594 output = self.RunCommand(
612 self.RunCommand('acl', ['set', 'private', suri(src_bucket_uri)])
620 self.RunCommand('acl', ['set', 'private', suri(src_bucket_uri)[:-2] + '*'])
625 self.RunCommand('acl', ['set', 'private', suri(src_bucket_uri, '*')])
630 self.RunCommand('defacl', ['set', 'private', suri(src_bucket_uri)])
636 self.RunCommand('defacl', ['set', 'private', suri(src_bucket_uri, '*')])
646 self.RunCommand('cp', [src_file, suri(dst_bucket_uri)], debug=3)
662 self.RunCommand(
684 self.RunCommand(
707 self.RunCommand('cp', ['-R', src_dir, suri(src_bucket_uri),
726 self.RunCommand(
745 self.RunCommand(
759 self.RunCommand(
774 self.RunCommand(
796 self.RunCommand(
821 self.RunCommand(
843 self.RunCommand('cp', [
861 self.RunCommand(
881 self.RunCommand('cp', ['-r', suri(src_dir, 'd3'),
906 self.RunCommand(
910 self.RunCommand(
936 self.RunCommand(
958 self.RunCommand(
972 self.RunCommand(
994 self.RunCommand(
1009 self.RunCommand('rm', ['-R', suri(bucket_uris[i]) + final_src_char])
1011 RunCommand('ls', [suri(bucket_uris[i])])
1024 stdout = self.RunCommand('ls', [suri(bucket_uri, object_name_bytes)],
1032 stdout = self.RunCommand('ls', ['-R', suri(bucket_uri)], return_stdout=True)
1056 self.RunCommand('logging', ['set', 'off', suri(src_bucket_uri)])
1061 self.RunCommand('logging', ['set', 'on', '-b', 'gs://log_bucket',
1070 self.RunCommand('help', [])
1075 stdout = self.RunCommand('cat', [suri(src_uri)], return_stdout=True)
1081 self.RunCommand('logging', ['get', suri(src_bucket_uri)])
1087 self.RunCommand('mb', [suri(dst_bucket_uri)])
1096 self.RunCommand('rm', [suri(dst_bucket_uri, 'non_existent')])
1106 # self.RunCommand('ver', [])