datalogic / device-sync

Command-line tool that uses the datalogic-ce-sync library
1 stars 1 forks source link

device-sync

A simple command line tool that makes use of the datalogic-ce-sync library. Also uses the nice CommandLineParser library.

Run

Commands

C:\publish\device-sync --help
device-sync 1.0.0
Copyright (C) 2018 device-sync

  push       Push files to a device

  pull       Pull files from a device

  start      Start a process on the device

  find       Search a directory on the device for directories and files whose names satisfy the mask.

  mkdir      Create a new directory on the device.

  touch      Sets the last modified time of a file on the device

  delete     Delete a specified file from the device

  help       Display more information on a specific command.

  version    Display version information.

Known issues

Examples

To compile

You will need DotNet Core 3.0 installed on your machine.

cd into the root project directory. Now run the following command:

dotnet publish -c release -r win10-x64 --self-contained

This will generate a folder containing device-sync.exe along with all necessary dll's, such that you can just drop the folder onto any Windows 7/8/10 PC and run the executable. The folder is generated at:

bin/release/netcoreapp3.0/win10-x64/publish