[Qgis-user] move files with qgis actions

Nathan Woodrow madmanwoo at gmail.com
Wed May 8 04:52:21 PDT 2013


Hey Lito,

In your batch file you can use the MOVE command
http://www.computerhope.com/movehlp.htm

If you have a batch file like:

MOVE %1 C:\Temp\

%1 is the first arg passed to the batch file

In QGIS you would have a action that calls the batch file like this

yourbatch.bat [% ImageField %]

- Nathan


On Tue, May 7, 2013 at 8:28 PM, Lito Macieira <litomacieira2 at gmail.com>wrote:

>  Hi guys,
>
> I have one doubt, may be anyone can help me.
> I have one layer (like houses). For each house i have one picture.
> I want that, when a user insert a new feature, choose a picture. Then i
> want that qgis move that picture to another folder with the name of the
> genereted ID for that house.
> I'm trying do that with qgis actions (and a bat file may be??) and i know
> how to give them the genereted id (with the '%ID') but i don't now how to
> move the photo.
> Can anyone help me with that or point me a direction?
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130508/8c5b3053/attachment.html>


More information about the Qgis-user mailing list