Once again thanks for your time and efforts.
don't know what os you are trying this on but on my basic Arch it does not work as your example.
Trying your first command gets me
CODE
$ scrot && mv 2012*.png Mirage/capture/
mv: cannot move `2012-03-09-104208_1920x1200_scrot.png' to `Mirage/capture/': No such file or directory
[code]
This placed a file `2012-03-09-104208_1920x1200_scrot.png' in my "home" directory and then every time i tried to run the command I got
[code]$ ]$ scrot && mv 2012*.png Mirage/capture/
bash: ]$: command not found
[bloodaxe@longship ~]$ mv: cannot move `2012-03-09-104208_1920x1200_scrot.png' to `Mirage/capture/': No such file or directory
>
So I tried your suggestion as an alias and get
CODE
[bloodaxe@longship ~]$ sc
mv: cannot move `2012-03-09-105751_1920x1200_scrot.png' to `Mirage/capture/': No such file or directory
[bloodaxe@longship ~]$ sc
mv: target `Mirage/capture/' is not a directory
[bloodaxe@longship ~]$ sc
It does however put files in the "home" directory like so
QUOTE
2012-03-09-110311_1920x1200_scrot.png
2012-03-09-110319_1920x1200_scrot.png
Your code is for taking full screenshots and placing the file into a specific folder and can be used as an alias. however my opening post shows that I have already worked out how to do this.
I think that the reason a lot of the above did not work is that I have "Mirages" and not "Mirage" so my copying and pasting was no good and as it is not relevant to my problem I ain't trying it all again.
My problem is how to create an alias using the "-s" feature in scrot and place the file into a specific folder. See post 4.
In exterm if I type in
CODE
scrot -s '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/Mirages/capture/'
I get a series of files in ~/Mirages/capture/ but it is a pain to have to type in that command or copy and paste it from a file. So I am looking for a alternative.
After trying all sorts of permutations at making a alias I found that
CODE
alias sc='scrot -s && ~/Mirages/capture/.png'
Would place files in "~/" and not overwrite them like so
QUOTE
2012-03-09-122030_255x442_scrot.png
2012-03-09-122550_179x502_scrot.png
So some of your code magic is working

Mind you this does the same
QUOTE
alias sc='scrot -s && mv ~/Mirages/capture/'
alias sc='scrot -s && mv ~/Mirages/capture/*.png'
alias sc='scrot -s ~/Mirages/capture/.png'
with this message in xterm
CODE
$ sc
bash: /home/bloodaxe/Mirages/capture/%Y-%m-%d-%T.png: No such file or directory
Well I tried all sorts of permutations and kept getting similar results. Eventually I could get a file to apperar in ~/Mirages/capture/ but it would appear as " *.png" and get overwritten no matter what I did.
So finally I tried
QUOTE
alias sc='scrot -s && mv 2012*.png ~/Mirages/capture/'
An blow me down with a feather it worked.
Now if only I had spotted the missing "s" sooner and simply tried to put in "-s" I would have had a result much sooner.
Many thanks for the help