Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View verschuur's full-sized avatar
🤠

Govert Verschuur verschuur

🤠
  • Funxtion
  • Amsterdam
View GitHub Profile
@verschuur
verschuur / app.php
Created November 3, 2020 09:39 — forked from mmikkel/app.php
Craft 3 multi-env email settings
<?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
verschuur / remove-indexing-files.md
Created September 9, 2019 14:30 — forked from xedef/remove-indexing-files.md
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)

Please!

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://your.bucket.name/maybe-a-subkey --dryrun --recursive --exclude "*" --include "*.DS_Store"