0

After running the following code in a directory (actually a sub-directory of my pictures folder, if that helps) consisting of nothing other than about 60 png images:

for i in *;
do  mv "${i}" Surv${53+count}.`echo "${i}" | awk -F. '{print $2}'`;
((++count)); done

I found that all but the last of these pngs images had vanished. Is there any way to restore them? At the time I thought that I had them backed up, but I am sad to discover that I have in fact not.

dessert
  • 40,956
J. Mini
  • 190

0 Answers0