fix: pacman 3.5.4() addon script - (copy addin etc files keeping permissions) - templ...
[cmdllinux.git] / mixed_n_other / _gdrive_share_list.sh
blob8838753dd67a1125bfd1d8ca2d53cbe35a970df8
1 #read file sections - key word to key word
2 wget -q https://drive.google.com/file/d/0Bz04AqheEMm9VjhqM2h2NU5xNTQ/view?usp=sharing -O gdrive.cont
4 grep "<script>window\['_DRIVE_ivd'\] = " gdrive.cont | sed -e "s#.*<script>window\['_DRIVE_ivd'\] = ##" -e "s#'; if (.*##" > gdrive1.tmp
5 ##\x22\x5d\n,\x22 \x22
6 hexdump -ve '1/1 "%.2X"' gdrive1.tmp | sed 's/5C7832325C7835645C6E2C5C783232/0A/g' | xxd -r -p > gdrive2.tmp
7 tail -n +2 gdrive2.tmp | sed 's/\\.*//'
9 #tail -n +2 gdrive2.tmp | hexdump -ve '1/1 "%.2X"' | sed 's/5C783232/0A/g' | xxd -r -p > gdrive3.tmp
10 #5C7832325C7835645C6E2C5C783232
11 #0A
12 #23
13 #5C783232
14 #0A