hardgsutil

Copy CSV files to Cloud Storage, skipping any files that already exist at the destination

command

gsutil cp -n ./DATA/*.csv gs://BUCKET_NAME/DATA/

also accepted

gsutil cp -ngsutil cp -n ./

Command breakdown

Part of the Cloud Storage CLI (gsutil) — Cloud Storage gsutil category.

gsutilcp-n./DATA/*.csvgs://BUCKET_NAME/DATA/
FlagPurpose
-nBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →