Skip to content

Instantly share code, notes, and snippets.

View judzi's full-sized avatar
🇸🇰

Juraj Hrenák judzi

🇸🇰
View GitHub Profile
@judzi
judzi / adblock.cz.txt
Last active October 26, 2022 08:27
CZ Ads list
1gr.cz
2mdn.net
10.im.cz
2975c.v.fwmrm.net
a.1gr.cz
a.blesk.cz
a.cele.cz
a.denik.cz
a.iprima.cz
a.slunecnice.cz
ditto -x -k -V takeout-20200927T232117Z-001.zip \
takeout-20200927T232117Z-002.zip \
takeout-20200927T232117Z-003.zip \
takeout-20200927T232117Z-004.zip \
takeout-20200927T232117Z-005.zip \
takeout-20200927T232117Z-006.zip \
result 1>log.txt 2>&1
@judzi
judzi / takeout-merge.sh
Last active May 26, 2024 17:04
Google Takeout Merge Tool: Unzips and merges all your exported data into a single folder
#!/usr/bin/env bash
destDir="../Takeout-merge"
mkdir -p $destDir
# Merges the different unzipped Takeout folders into one
for p in $(seq -f "%03g" 1 ${1:-1}); do
if [ -f $p/DONE ]; then
echo "Skipping $p/Takeout ... "