Skip to content

Instantly share code, notes, and snippets.

Avatar
🤠

Govert Verschuur verschuur

🤠
View GitHub Profile
@verschuur
verschuur / app.php
Created Nov 3, 2020 — forked from mmikkel/app.php
Craft 3 multi-env email settings
View app.php
<?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 Sep 9, 2019 — forked from xedef/remove-indexing-files.md
Remove all .DS_Store files (or any unwanted indexing file) from a S3 bucket, recursively
View remove-indexing-files.md

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"