Can I Delete Software Distribution FilestAmazon S3 Tools S3cmd Usage. The following is S3cmd usage as shown if you type s. To access all the options and commands listed below, youll need s. Usage s. 3cmd options COMMAND parametersS3cmd is a tool for managing objects in Amazon S3 storage. It allows formaking and removing buckets and uploading, downloading and removingobjects from these buckets. Options h, help show this help message and exit configure Invoke interactive reconfiguration tool. Optionallyuse as configure s. FILE, configFILEConfig file name. Defaults to HOME. Dump current configuration after parsing config filesand command line options and exit. accesskeyACCESSKEYAWS Access Key secretkeySECRETKEYAWS Secret Key accesstokenACCESSTOKENAWS Access Token n, dry run Only show what should be uploaded or downloaded butdont actually do it. May still perform S3 requests toget bucket listings and other information though onlyfor file transfer commands s, ssl Use HTTPS connection when communicating with S3. default no ssl Dont use HTTPS. e, encrypt Encrypt files before uploading to S3. no encrypt Dont encrypt files. f, force Force overwrite and other dangerous operations. continue Continue getting a partially downloaded file only forget command. continue put Continue uploading partially uploaded files ormultipart upload parts. Restartsparts files thatdont have matching size and md. Skips filespartsthat do. Note md. Enable thisat your own risk. upload idUPLOADIDUpload. Id for Multipart Upload, in case you wantcontinue an existing upload equivalent to continue put and there are multiple partial uploads. Uses. URI to see what Upload. Ids areassociated with the given URI. skip existing Skip over files that exist at the destination onlyfor get and sync commands. r, recursive Recursive upload, download or removal. check md. Check MD5 sums when comparing files for sync. default no check md. Can I Delete Software Distribution Files ReadyDo not check MD5 sums when comparing files for sync. Only size will be compared. May significantly speed uptransfer but may also miss some changed files. P, acl public Store objects with ACL allowing read for anyone. acl private Store objects with default ACL allowing access for youonly. acl grantPERMISSION EMAIL or USERCANONICALIDGrant stated permission to a given amazon user. Permission is one of read, write, readacp,writeacp, fullcontrol, all acl revokePERMISSION USERCANONICALIDRevoke stated permission for a given amazon user. Permission is one of read, write, readacp, writeacp, fullcontrol, all D NUM, restore daysNUMNumber of days to keep restored file available onlyfor restore command. restore priorityRESTOREPRIORITYPriority for restoring files from S3 Glacier only forrestore command. Choices available bulk, standard,expedited delete removed Delete destination objects with no correspondingsource file sync no delete removed Dont delete destination objects. delete after Perform deletes after new uploads sync delay updates OBSOLETEPut all updated files into place at endsync max deleteNUM Do not delete more than NUM files. del and sync limitNUM Limit number of objects returned in the response bodyonly for ls and la commands add destinationADDITIONALDESTINATIONSAdditional destination for parallel uploads, inaddition to last arg. May be repeated. delete after fetch Delete remote objects after fetching to local fileonly for get and sync commands. p, preserve Preserve filesystem attributes mode, ownership,timestamps. Default for sync command. no preserve Dont store FS attributes excludeGLOB Filenames and paths matching GLOB will be excludedfrom sync exclude fromFILE Read exclude GLOBs from FILE rexcludeREGEXP Filenames and paths matching REGEXP regularexpression will be excluded from sync rexclude fromFILE Read rexclude REGEXPs from FILE includeGLOB Filenames and paths matching GLOB will be includedeven if previously excluded by one of rexclude from patterns include fromFILE Read include GLOBs from FILE rincludeREGEXP Same as include but uses REGEXP regular expressioninstead of GLOB rinclude fromFILE Read rinclude REGEXPs from FILE files fromFILE Read list of source file names from FILE. Use toread from stdin. regionREGION, bucket locationREGIONRegion to create bucket in. As of now the regions are us east 1, us west 1, us west 2, eu west 1, eu central 1, ap northeast 1, ap southeast 1, ap southeast 2, sa east 1 hostHOSTNAME HOSTNAME PORT for S3 endpoint default s. You should also set host bucket. host bucketHOSTBUCKETDNS style buckethostname port template for accessinga bucket default buckets. Store object with Reduced redundancy. Lower per GBprice. put, cp, mv no reduced redundancy, no rr. Store object without Reduced redundancy. Higher per GB price. put, cp, mv storage classCLASSStore object with specified CLASS STANDARD,STANDARDIA, or REDUCEDREDUNDANCY. Lower per GBprice. put, cp, mv access logging target prefixLOGTARGETPREFIXTarget prefix for access logs S3 URI for cfmodifyand accesslog commands no access logging Disable access logging for cfmodify and accesslogcommands default mime typeDEFAULTMIMETYPEDefault MIME type for stored objects. Applicationdefault is binaryoctet stream. M, guess mime type. Guess MIME type of files by their extension or mimemagic. Fall back to default MIME Type as specified by default mime type option no guess mime type Dont guess MIME type and use the default typeinstead. no mime magic Dont use mime magic when guessing MIME type. m MIMETYPE, mime typeMIMETYPEForce MIME type. Override both default mime type and guess mime type. add headerNAME VALUEAdd a given HTTP header to the upload request. Can beused multiple times. For instance set Expires orCache Control headers or both using this option. remove headerNAME Remove a given HTTP header. Can be used multipletimes. For instance, remove Expires or Cache Control headers or both using this option. modify server side encryption. Specifies that server side encryption will be usedwhen putting objects. put, sync, cp, modify server side encryption kms idKMSKEYSpecifies the key id used for server side encryptionwith AWS KMS Managed Keys SSE KMS when puttingobjects. put, sync, cp, modify encodingENCODING Override autodetected terminal and filesystem encodingcharacter set. Autodetected UTF 8 add encoding extsEXTENSIONs. Add encoding to these comma delimited extensions i. S3 verbatim Use the S3 name as given on the command line. No pre processing, encoding, etc. Use with caution disable multipart Disable multipart upload on files bigger than multipart chunk size mb multipart chunk size mbSIZESize of each chunk of a multipart upload. Files biggerthan SIZE are automatically uploaded as multithreaded multipart, smaller files are uploaded using thetraditional method. SIZE is in Mega Bytes, defaultchunk size is 1. MB, minimum allowed chunk size is 5. MB,maximum is 5. GB. list md. Include MD5 sums in bucket listings only for lscommand. H, human readable sizes. Print sizes in human readable form eg 1k. B instead of. 12. WEBSITEINDEXName of index document only for ws create command ws errorWEBSITEERRORName of error document only for ws create command expiry dateEXPIRYDATEIndicates when the expiration rule takes effect. onlyfor expire command expiry daysEXPIRYDAYSIndicates the number of days after object creation theexpiration rule takes effect. only for expirecommand expiry prefixEXPIRYPREFIXIdentifying one or more objects with the prefix towhich the expiration rule applies. only for expirecommand progress Display progress meter default on TTY. no progress Dont display progress meter default on non TTY. stats Give some file transfer stats. enable Enable given Cloud. PLAIN DUPLICATE FINDER Find duplicate files in any folder or its subfolders. You can then select which of the duplicates you want to keep, and which to delete. Edit, delete, add, and repair the records in the AutoComplete file nk2 of Microsoft Outlook. I dont know enough PowerShell to know if I can make a minor adjustment but still have a functional script. I need to delete files not directories using a today. Im new to shell scripts, can anyone help I want to delete scripts in a folder from the current date back to 10 days. The scripts looks like 2012. 11. 21. 093352.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |