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
  • 35,754
  • 55
  • 92
  • 145
lol
  • 11
  • 2

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
  • 41,240
  • 22
  • 121
  • 214