Skip to content

Instantly share code, notes, and snippets.

@xerpi
Created April 3, 2020 22:52
Show Gist options
  • Save xerpi/150d41ff4d7a72633f253e8d4fa72c1b to your computer and use it in GitHub Desktop.
Save xerpi/150d41ff4d7a72633f253e8d4fa72c1b to your computer and use it in GitHub Desktop.
#!/bin/bash
last=$(curl -s "ftp://${PSVITAIP}:1337/ux0:/data/" | grep psp2core | tail -1 | cut -d ' ' -f 9)
curl -s "ftp://${PSVITAIP}:1337/ux0:/data/$last" --output "$last"
echo "$last"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment