Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat keep.json
- ["file1.png", "file2.png"]
- find -not '(' $(php -r 'echo "-name " . implode(" -o -name ", json_decode(file_get_contents("keep.json")));') ')' -delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement