Created
August 21, 2017 06:19
-
-
Save zohead/59e791c8a61d031439f4df4ebb531e98 to your computer and use it in GitHub Desktop.
Export Windows 10 Spotlight images by WSL (Bash on Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[ -d test ] || mkdir test | |
ind=0 | |
username=`whoami` | |
for i in `ls /mnt/c/Users/$username/AppData/Local/Packages/Microsoft.Windows.ContentDeliveryManager_*/LocalState/Assets/*`; do | |
cp $i test/$ind.jpg | |
ind=`expr $ind + 1` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment