Skip to content

Instantly share code, notes, and snippets.


Govert Verschuur verschuur

  • NoProtocol
  • Amsterdam
View GitHub Profile
verschuur / app.php
Created Nov 3, 2020 — forked from mmikkel/app.php
Craft 3 multi-env email settings
View app.php
* Yii Application Config
* Edit this file at your own risk!
* The array returned by this file will get merged with
* vendor/craftcms/cms/src/config/app/main.php and [web|console].php, when
* Craft's bootstrap script is defining the configuration for the entire
* application.
verschuur /
Created Sep 9, 2019 — forked from xedef/
Remove all .DS_Store files (or any unwanted indexing file) from a S3 bucket, recursively

You can replace "*.DS_Store" with any other recurrent file (e.g. Desktop.ini)


Validate that you are going to delete only what you want passing the --dryrun option. I've left if by default just in case of copy/paste.

aws s3 rm s3:// --dryrun --recursive --exclude "*" --include "*.DS_Store"