You are here

Command line sync will not run (2.0.2 & 2.0.2 PR4)

7 posts / 0 new
Last post
RonM
Offline
Last seen: 15 years 11 months ago
Joined: 2008-11-19 12:43
Command line sync will not run (2.0.2 & 2.0.2 PR4)

Hi all, I was using command line sync in 2.0.1 without any problems but in 2.0.2 and 2.0.2PR4 it's no longer completing the job. It copies one file and then dies. The intent of the job is to maintain a copy of my flash drive in the 'C:\Removable Disk' folder.

The command I'm running is:
cd PortableApps\Toucan\App\toucan
Toucan.exe "updatejob"

And the contents of the job.ini file is:
[General]
Version=202
[updatejob]
Source=@drive@\\
Dest=C:\\Removable Disk
Function=Mirror (Copy)
TimeStamps=0
Attributes=0
IgnoreReadOnly=0
IgnoreDaylightSavings=0
Rules=
Type=Sync

Here's the output:
E:\>cd PortableApps\Toucan\App\toucan

E:\PortableApps\Toucan\App\toucan>Toucan.exe "updatejob"
Welcome to the Toucan command line system.

Starting...

Time: 12:39:14

E:\BookmarkBridgeMerge.bat copied to C:\Removable Disk\BookmarkBridge
Merge.bat

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 1 month ago
Developer
Joined: 2005-12-10 15:22
So

does it do the same thing when run from the GUI or is this a command line only problem?

RonM
Offline
Last seen: 15 years 11 months ago
Joined: 2008-11-19 12:43
Command line only

Command line only

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 1 month ago
Developer
Joined: 2005-12-10 15:22
Very annoying

I shall look into this and post a bigger update later.

mprindle
Offline
Last seen: 15 years 5 months ago
Joined: 2007-08-13 14:20
Confirmation

I can confirm that using the command line doesn't work. It gives an error about not being able to add a .png file.

123martin321
Offline
Last seen: 15 years 11 months ago
Joined: 2008-09-11 04:58
DISREGARD

For me no file gets backed up from commandline.

@mprindle:
You're probably running the script from the wrong directory.
Make sure you're in .\Toucan\App\toucan when running the script from commandline.

:edit:
I failed to see that there's just been an update, v2.0.3.
Everything works fine now!

Thank you Steve!

RonM
Offline
Last seen: 15 years 11 months ago
Joined: 2008-11-19 12:43
Fixed in 2.0.3.

Thanks, it's been fixed in 2.0.3.

Log in or register to post comments