Skip to content

Instantly share code, notes, and snippets.

View nahmedpk's full-sized avatar
🎯
Focusing

Noman Ahmed nahmedpk

🎯
Focusing
View GitHub Profile
@nahmedpk
nahmedpk / find-replace.sh
Last active August 9, 2022 10:14
AWS CLI | Bash Script | Rename files - File With Specific Pattern in a Directory
#!/bin/bash
S3_BUCKET="bucket-storage";
S3_SOURCE_DIR="invoices";
#S3_DEST_DIR="receipts"; //extra
S3_FILENAME_SEARCH="invoice";
S3_FILENAME_REPLACE="receipt";
# Sample Folder Structure
# invoices
@nahmedpk
nahmedpk / 0_reuse_code.js
Created July 3, 2017 07:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console