Fuego wiki

Login or create account

function put

NAME [edit section]


SYNOPSIS [edit section]

  • put [-r] <file1> [<file2>...] <destination>

DESCRIPTION [edit section]

The 'put' function is used to transfer directories and files to the target.

It adds a statement to the devlog, and then calls ov_transport_put.

It takes the '-r' option to allow putting items recursively. You can use wildcards in the file specifications.

EXAMPLES [edit section]

Here are some example calls

        put hello $TEST_HOME/fuego.$TESTDIR

        put {sample*,}  $BOARD_TESTDIR/fuego.$TESTDIR/

        put -r XML-Test-Suite.tar tests/.libs/* tests/  $BOARD_TESTDIR/fuego.$TESTDIR/;

ENVIRONMENT and ARGUMENTS [edit section]

The arguments are passed unchanged to ov_transport_put.

  • -r may be passed in the first position, to specify to recursively transfer directories and files
  • the last argument should be an destination directory on the target. The directory should be a full path (specified from the root)

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in scripts/

SEE ALSO [edit section]

TBWiki engine 1.8.2 by Tim Bird