Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BASH:
- cat: cat: No such file or directory
- for i in ???????*; do
- x=`file "$i" | grep -o '".*"' * | sed 's/"//g'`
- echo mv -i "$i" "$x"
- done
- **************************************************
- References:
- Ref 1: https://unix.stackexchange.com/questions/6998/how-can-i-rename-photos-given-the-exif-data
- Ref 2: https://unix.stackexchange.com/questions/137030/how-do-i-extract-the-content-of-quoted-strings-from-the-output-of-a-command
- **************************************************
- Output:
- Note that it infinitely loops, don't know why. Any ideas?
- Binary file 29ctkki matches
- Binary file 29cu6sX matches
- Binary file 29cumbH matches
- 29cv1JW: id=W5M0MpCehiHzreSzNTczkc9d
- 29cv1JW:adobe:ns:meta/ x:xmptk=Adobe XMP Core 5.4-c005 78.147326, 2012/08/23-13:03:03
- 29cv1JW:http://www.w3.org/1999/02/22-rdf-syntax-ns#
- 29cv1JW:
- 29cv1JW:http://purl.org/dc/elements/1.1/
- 29cv1JW:http://ns.adobe.com/xap/1.0/
- 29cv1JW:http://ns.adobe.com/pdf/1.3/
- 29cv1JW:http://ns.adobe.com/xap/1.0/mm/
- 29cv1JW:x-default
- 29cv1JW:w
- Binary file 29cv1JW matches
- Binary file 29cv1JW.1 matches
- Binary file 29cv8FE matches
- Binary file 29ddbYb matches
- Binary file 29ddd2b matches
- Binary file 29ddd2b.1 matches
- Binary file 29ddKBp matches
- Binary file 29ddm60 matches
- Binary file 29deg2k matches
- Binary file 29deQgz matches
- Binary file 29df2fw matches
- Binary file 29dfUkt matches
- Binary file 29dj7zY matches
- Binary file 29djdrk matches
- Binary file 29djdrk.1 matches
- Binary file 29djvi9 matches
- Binary file 29djvi9.1 matches
- Binary file 29dk0Ze matches
- Binary file 29dkhf4 matches
- Binary file 29dkq1V matches
- Binary file 29dkZZK matches
- Binary file 29dlaE5 matches
- Binary file 29dlH9d matches
- Binary file 29dlTVV matches
- Binary file 29dlTVV.1 matches
- Binary file 29dmCXi matches
- Binary file 29dmh6L matches
- Binary file 29dmTJT matches
- Binary file 29fJA2g matches
- Binary file 29fJpEc matches
- Binary file 29fKMD6 matches
- Binary file 29FkNr3 matches
- Binary file 29fKWdi matches
- Binary file 29fNPxT matches
- Binary file 29fOrnd matches
- Binary file 29fOrnd.1 matches
- Binary file 29fOWdV matches
- Binary file 29fPAec matches
- Binary file 29fPMug matches
- Binary file 29fPnIe matches
- Binary file 29fPweO matches
- Binary file 29fPweO.1 matches
- Binary file 29fQN5c matches
- Binary file 29fQN5c.1 matches
- Binary file 29fQRlQ matches
- Binary file 29FT71n matches
- Binary file 29FW41O matches
- Binary file 29FZx0B matches
- Binary file 29GpFsY matches
- Binary file 29gsFOl matches
- Binary file 29gsFOl.1 matches
- Binary file 29gsnHt matches
- Binary file 29gteI8 matches
- Binary file 29gvTBJ matches
- Binary file 29H2bo1 matches
- Binary file 29H7K5O matches
- Binary file 29hB9CQ matches
- Binary file 29hofVk matches
- Binary file 29hofVk.1 matches
- Binary file 29hwj8y matches
- Binary file 29hxogT matches
- Binary file 29hxyEN matches
- Binary file 29hzPzU matches
- Binary file 29hzPzU.1 matches
- Binary file 29i2CEe matches
- Binary file 29ialCf matches
- Binary file 29ibJVq matches
- Binary file 29idcee matches
- Binary file 29idEct matches
- Binary file 29idnpO matches
- Binary file 29ie2rq matches
- Binary file 29ieSEI matches
- Binary file 29ieXIo matches
- Binary file 29jH8bx matches
- Binary file 29jJLdx matches
- Binary file 29jLjnM matches
- Binary file 29jLNtX matches
- Binary file 29nc2QS matches
- Binary file 29ncgrb matches
- Binary file 29ne5V5 matches
- Binary file 29nevuE matches
- Binary file 29odbJ6 matches
- Binary file 29ohqUT matches
- Binary file 29ojrAy matches
- Binary file 29okalt matches
- Binary file 29olaWI matches
- Binary file 29oRWlp matches
- Binary file 29pbiLY matches
- Binary file 29pcQFA matches
- Binary file 29pfQ50 matches
- Binary file 29pvj5I matches
- Binary file 29pwCBO matches
- Binary file 29pxarl matches
- Binary file 29pz4Im matches
- Binary file 29pztuz matches
- Binary file 29rLH2H matches
- Binary file 29rLlZV matches
- Binary file 29rML6Q matches
- Binary file 29rON6X matches
- Binary file 29rOvx0 matches
- Binary file 29rOYz9 matches
- Binary file 29v9igV matches
- Binary file 29v9igV.1 matches
- Binary file 29viFmi matches
- Binary file 29w5gr9 matches
- Binary file 29w68w8 matches
- Binary file 29Xnqk8 matches
- Binary file 29xtHDs matches
- Binary file 29xtlNa matches
- Binary file 29ycEnb matches
- Binary file 29zYWzl matches
- Binary file N1HEpM matches
- Binary file N1HMW7 matches
- Binary file N1HQW0 matches
- Binary file N1HX3Q matches
- Binary file N1I2o4 matches
- Binary file N1I935 matches
- Binary file N1Ienp matches
- Binary file N1J8A8 matches
- Binary file N1JfvI matches
- Binary file N1JiHO matches
- Binary file N1Jo27 matches
- Binary file OudHlO matches
- Binary file OudJdr matches
- Binary file Oue0NG matches
- Binary file Oue2oE matches
- Binary file Ouebsh matches
- Binary file OuecfK matches
- Binary file OueFPb matches
- Binary file OueIKU matches
- Binary file OuelQu matches
- Binary file OueoMd matches
- Binary file OueUd4 matches
- Binary file OueVxy matches
- Binary file Ouf6sO matches
- Binary file Ouf9og matches
- Binary file OufCXN matches
- Binary file OufgQN matches
- Binary file OufkQs matches
- Binary file OufRSs matches
- Binary file OufVlq matches
- Binary file Oufwzg matches
- Binary file Oug5Jl matches
- Binary file Oug74a matches
- renamethefiles.sh:$i | grep -o '.*' * | sed 's/
- renamethefiles.sh:$i $x
- Binary file TL3pn1 matches
- Binary file TUmyTW matches
- Binary file TWa2Dg matches
- Binary file ZZezok matches
- Binary file ZZh7Ts matches
- mv -i 128Ogso Binary file 1002Upx matches
- Binary file 1005lbB matches
- Binary file 1006fEV matches
- Binary file 10ttQ3n matches
- Binary file 10tu5eD matches
- Binary file 10tuWvL matches
- Binary file 11HXnjD matches
- Binary file 11IMDlh matches
- Binary file 11IQ8bd matches
- Binary file 11lkViX matches
- Binary file 11VIxdB matches
- Binary file 11vx5Cy matches
- Binary file 11WvSqL matches
- Binary file 1287Jt4 matches
- Binary file 128a1ID matches
- Binary file 128NAD6 matches
- Binary file 128Ogso matches
- Binary file 12FIapt matches
- Binary file 12FIZ1I matches
- Binary file 12FMEMP matches
- Binary file 12FN71F matches
- Binary file 12FObmf matches
- Binary file 12RZWY1 matches
- Binary file 12S035G matches
- Binary file 13PlvVY matches
- Binary file 13Pn1XY matches
- Binary file 13Qbl7k matches
- Binary file 13QcfRi matches
- Binary file 13QdHDb matches
- Binary file 13WChkr matches
- Binary file 13WvGXa matches
- Binary file 13XRfqr matches
- Binary file 14fCxLS matches
- Binary file 14givRo matches
- Binary file 14gkBRc matches
- Binary file 14HcD5O matches
- Binary file 14HMJ1Q matches
- Binary file 14HOjki matches
- Binary file 14HOxb2 matches
- Binary file 15fRBI9 matches
- Binary file 15fXTHQ matches
- Binary file 16CaDM1 matches
- Binary file 16CkUI4 matches
- Binary file 16dFAWc matches
- Binary file 16dHXZ9 matches
- Binary file 16E4lf4 matches
- Binary file 16E6G9L matches
- Binary file 17iah0Q matches
- Binary file 17iaq4l matches
- Binary file 17icbPc matches
- Binary file 17jgPfG matches
- Binary file 17UHSNJ matches
- Binary file 17VqB79 matches
- Binary file 18VNatF matches
- Binary file 19fCnqV matches
- Binary file 19fDuqE matches
- Binary file 19LCgpM matches
- Binary file 19LEPIz matches
- Binary file 19LwMLI matches
- Binary file 1anyEJj matches
- Binary file 1bPPb6C matches
- Binary file 1bPRqqz matches
- Binary file 1bRgXzV matches
- Binary file 1bRhVMn matches
- Binary file 1bRiXbc matches
- Binary file 1dG2ZZ9 matches
- Binary file 1dGxEW7 matches
- Binary file 1dGxnSW matches
- Binary file 1dHSpRh matches
- Binary file 1ewwcq6 matches
- Binary file 1ffeiJo matches
- Binary file 1G0DEjb matches
- Binary file 1G2ccS5 matches
- Binary file 1giniO7 matches
- Binary file 1H1Exty matches
- Binary file 1H1MFKr matches
- Binary file 1H2Bq3J matches
- Binary file 1H7bxTv matches
- Binary file 1HGqihD matches
- Binary file 1IZCarE matches
- Binary file 1j5aDhH matches
- Binary file 1JHmqiB matches
- Binary file 1JPNIAt matches
- Binary file 1KEShAt matches
- Binary file 1KHqGNK matches
- Binary file 1LO5k1Y matches
- Binary file 1LRIveQ matches
- Binary file 1LSKTC0 matches
- Binary file 1LSOsIu matches
- Binary file 1M7Xr5v matches
- Binary file 1M7Ycve matches
- Binary file 1n3mAUZ matches
- Binary file 1n3mkVY matches
- Binary file 1NKjUqp matches
- Binary file 1NLviCk matches
- Binary file 1omCrM6 matches
- Binary file 1pxniH4 matches
- Binary file 1qbEeVc matches
- Binary file 1qC1pu4 matches
- Binary file 1qC1pu4.1 matches
- Binary file 1qZlnOJ matches
- Binary file 1qzON6Q matches
- Binary file 1rB8nl1 matches
- Binary file 1ReR3Qq matches
- Binary file 1Rf7BaZ matches
- Binary file 1S1f34H matches
- Binary file 1S1i4C0 matches
- Binary file 1sgMWDe matches
- Binary file 1sl39Hs matches
- Binary file 1UrQDFx matches
- Binary file 1vKOGot matches
- Binary file 1vM9H2d matches
- Binary file 1vM9mwt matches
- Binary file 29aelm3 matches
- Binary file 29aewh2 matches
- Binary file 29afaLE matches
- Binary file 29agkqx matches
- Binary file 29agpuw matches
- Binary file 29AT60J matches
- Binary file 29cqzzq matches
- Binary file 29crGiw matches
- Binary file 29cs157 matches
- Binary file 29cs7Fg matches
- Binary file 29csBjh matches
- Binary file 29csX4C matches
- Binary file 29cthAz matches
- Binary file 29ctkki matches
- Binary file 29cu6sX matches
- Binary file 29cumbH matches
- 29cv1JW: id=W5M0MpCehiHzreSzNTczkc9d
- 29cv1JW:adobe:ns:meta/ x:xmptk=Adobe XMP Core 5.4-c005 78.147326, 2012/08/23-13:03:03
- 29cv1JW:http://www.w3.org/1999/02/22-rdf-syntax-ns#
- 29cv1JW:
- 29cv1JW:http://purl.org/dc/elements/1.1/
- 29cv1JW:http://ns.adobe.com/xap/1.0/
- 29cv1JW:http://ns.adobe.com/pdf/1.3/
- 29cv1JW:http://ns.adobe.com/xap/1.0/mm/
- 29cv1JW:x-default
- 29cv1JW:w
- Binary file 29cv1JW matches
- Binary file 29cv1JW.1 matches
- Binary file 29cv8FE matches
- Binary file 29ddbYb matches
- Binary file 29ddd2b matches
- Binary file 29ddd2b.1 matches
- Binary file 29ddKBp matches
- Binary file 29ddm60 matches
- Binary file 29deg2k matches
- Binary file 29deQgz matches
- Binary file 29df2fw matches
- Binary file 29dfUkt matches
- Binary file 29dj7zY matches
- Binary file 29djdrk matches
- Binary file 29djdrk.1 matches
- Binary file 29djvi9 matches
- Binary file 29djvi9.1 matches
- Binary file 29dk0Ze matches
- Binary file 29dkhf4 matches
- Binary file 29dkq1V matches
- Binary file 29dkZZK matches
- Binary file 29dlaE5 matches
- Binary file 29dlH9d matches
- Binary file 29dlTVV matches
- Binary file 29dlTVV.1 matches
- Binary file 29dmCXi matches
- Binary file 29dmh6L matches
- Binary file 29dmTJT matches
- Binary file 29fJA2g matches
- Binary file 29fJpEc matches
- Binary file 29fKMD6 matches
- Binary file 29FkNr3 matches
- Binary file 29fKWdi matches
- Binary file 29fNPxT matches
- Binary file 29fOrnd matches
- Binary file 29fOrnd.1 matches
- Binary file 29fOWdV matches
- Binary file 29fPAec matches
- Binary file 29fPMug matches
- Binary file 29fPnIe matches
- Binary file 29fPweO matches
- Binary file 29fPweO.1 matches
- Binary file 29fQN5c matches
- Binary file 29fQN5c.1 matches
- Binary file 29fQRlQ matches
- Binary file 29FT71n matches
- Binary file 29FW41O matches
- Binary file 29FZx0B matches
- Binary file 29GpFsY matches
- Binary file 29gsFOl matches
- Binary file 29gsFOl.1 matches
- Binary file 29gsnHt matches
- Binary file 29gteI8 matches
- Binary file 29gvTBJ matches
- Binary file 29H2bo1 matches
- Binary file 29H7K5O matches
- Binary file 29hB9CQ matches
- Binary file 29hofVk matches
- Binary file 29hofVk.1 matches
- Binary file 29hwj8y matches
- Binary file 29hxogT matches
- Binary file 29hxyEN matches
- Binary file 29hzPzU matches
- Binary file 29hzPzU.1 matches
- Binary file 29i2CEe matches
- Binary file 29ialCf matches
- Binary file 29ibJVq matches
- Binary file 29idcee matches
- Binary file 29idEct matches
- Binary file 29idnpO matches
- Binary file 29ie2rq matches
- Binary file 29ieSEI matches
- Binary file 29ieXIo matches
- Binary file 29jH8bx matches
- Binary file 29jJLdx matches
- Binary file 29jLjnM matches
- Binary file 29jLNtX matches
- Binary file 29nc2QS matches
- Binary file 29ncgrb matches
- Binary file 29ne5V5 matches
- Binary file 29nevuE matches
- Binary file 29odbJ6 matches
- Binary file 29ohqUT matches
- Binary file 29ojrAy matches
- Binary file 29okalt matches
- Binary file 29olaWI matches
- Binary file 29oRWlp matches
- Binary file 29pbiLY matches
- Binary file 29pcQFA matches
- Binary file 29pfQ50 matches
- Binary file 29pvj5I matches
- Binary file 29pwCBO matches
- Binary file 29pxarl matches
- Binary file 29pz4Im matches
- Binary file 29pztuz matches
- Binary file 29rLH2H matches
- Binary file 29rLlZV matches
- Binary file 29rML6Q matches
- Binary file 29rON6X matches
- Binary file 29rOvx0 matches
- Binary file 29rOYz9 matches
- Binary file 29v9igV matches
- Binary file 29v9igV.1 matches
- Binary file 29viFmi matches
- Binary file 29w5gr9 matches
- Binary file 29w68w8 matches
- Binary file 29Xnqk8 matches
- Binary file 29xtHDs matches
- Binary file 29xtlNa matches
- Binary file 29ycEnb matches
- Binary file 29zYWzl matches
- Binary file N1HEpM matches
- Binary file N1HMW7 matches
- Binary file N1HQW0 matches
- Binary file N1HX3Q matches
- Binary file N1I2o4 matches
- Binary file N1I935 matches
- Binary file N1Ienp matches
- Binary file N1J8A8 matches
- Binary file N1JfvI matches
- Binary file N1JiHO matches
- Binary file N1Jo27 matches
- Binary file OudHlO matches
- Binary file OudJdr matches
- Binary file Oue0NG matches
- Binary file Oue2oE matches
- Binary file Ouebsh matches
- Binary file OuecfK matches
- Binary file OueFPb matches
- Binary file OueIKU matches
- Binary file OuelQu matches
- Binary file OueoMd matches
- Binary file OueUd4 matches
- Binary file OueVxy matches
- Binary file Ouf6sO matches
- Binary file Ouf9og matches
- Binary file OufCXN matches
- Binary file OufgQN matches
- Binary file OufkQs matches
- Binary file OufRSs matches
- Binary file OufVlq matches
- Binary file Oufwzg matches
- Binary file Oug5Jl matches
- Binary file Oug74a matches
- renamethefiles.sh:$i | grep -o '.*' * | sed 's/
- renamethefiles.sh:$i $x
- Binary file TL3pn1 matches
- Binary file TUmyTW matches
- Binary file TWa2Dg matches
- Binary file ZZezok matches
- Binary file ZZh7Ts matches
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement