Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Abort gsutil transfer

I am transferring a folder containing 100+ heavy files (several hundred MB) gsutil to my google cloud storage (Nearline). I've made a mistake in path of the destination folder. So I am looking for a way to abort the transfer.

Here is the command I used:

python c:\gsutil\gsutil -m cp -r -n berlin gs://bucket/berlin

So only solution I know (I am a newbie) is to simply close CMD. But I guess this isn't the right way to do it and I wonder what will happen to the temporary files (the files that were uploading but not completed when I closed CMD).

So here are my questions:

  1. Is there another way to abort the transfer than closing CMD?
  2. If this is the only solution, should I care about the temporary files : e.g. should I delete then to avoid unnecessary storage fee? If yes, how can I do that.
like image 886
MagTun Avatar asked Sep 27 '22 03:09

MagTun


1 Answers

You can ^C the operation under Windows/cmd.

like image 131
Mike Schwartz Avatar answered Oct 03 '22 03:10

Mike Schwartz