You are here

Problem with command line running

4 posts / 0 new
Last post
RogerL
Offline
Last seen: 2 weeks 6 days ago
Joined: 2007-03-14 09:17
Problem with command line running

Ran job:

[TestMirrorUpdatePreview]
Type=Sync
1=G:\\
2=I:\\
Function=Mirror (Update)
Attributes=1
Preview=1
Exclusions=|

via the command line using bat file:

Time /T > mylog.txt
G:\PortableApps\Toucan\App\Toucan\Toucan TestMirrorUpdatePreview
Time /T >> mylog.txt
Pause

and Preview=1 was ignored, files got copied, deleted and overwritten.

Toucan 1.2.1, WinXP SP2

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
Yep,

preview isn't supported in command line mode, my thinking behind this was that if you have to use the GUI to create the job then surely you could just run the preview there, I'll make this clearer in the help file for 1.2.2.

RogerL
Offline
Last seen: 2 weeks 6 days ago
Joined: 2007-03-14 09:17
The reason I ran it from the

The reason I ran it from the command line was that I wanted to time how long it took without sitting in front of the computer (you don't put timestamps yet in the log file) so I used a bat file with time /T >> logfile.

I actually screwed up some files (thank goodness for multiple backups :-))

Just putting a warning in the help file wont stop some people making the same mistake.

I really beleive that Preview=1 should mean just that.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
I'll

see what I can do for 1.2.2, it's defiantly in 2.0.

Log in or register to post comments