1

I used this command:

scrot -e 'mv $f ~/Pictures/Screenshots/

I have also created those folders in my directory but i cannot still take a screenshot. I keep getting:

giblib error:Saving to file filename.png failed
David Foerster
  • 36,264
  • 56
  • 94
  • 147
lol
  • 11

1 Answers1

0

You need to specify a filename:

scrot test.png -e 'mv $f ~/Pictures/Screenshots/'

or

scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/Pictures/Screenshots/'
DK Bose
  • 42,548
  • 23
  • 127
  • 221