FrontPage 

Fuego wiki

Login or create account

function put in split format

NAME [edit section]

= NAME =
put

SYNOPSIS [edit section]

= SYNOPSIS =
 * put [-r] <file1> [<file2>...] <destination>

DESCRIPTION [edit section]

= DESCRIPTION =
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 adds a statement to the devlog, and then calls [[function ov_transport_put|ov_transport_put]].
It takes the '-r' option to allow putting items recursively. You can use wildcards in the file specifications.
It takes the '-r' option to allow putting items recursively.
You can use wildcards in the file specifications.

EXAMPLES [edit section]

= EXAMPLES =
Here are some example calls
{{{#!YellowBox
    put hello $TEST_HOME/fuego.$TESTDIR
}}}
{{{#!YellowBox
    put {sample*,run-tests.sh}  $BOARD_TESTDIR/fuego.$TESTDIR/
}}}
{{{#!YellowBox
    put -r XML-Test-Suite.tar tests/.libs/* tests/xmltest.sh  $BOARD_TESTDIR/fuego.$TESTDIR/;
}}}

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
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)
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]

= RETURN =
Returns non-zero on error

SOURCE [edit section]

= SOURCE =
Located in ''scripts/functions.sh''

SEE ALSO [edit section]

ov_transport_put, get, test_deploy
= SEE ALSO =
 * [[function ov_transport_put|ov_transport_put]], [[function_get|get]], [[function_test_deploy|test_deploy]]
TBWiki engine 1.8.3 by Tim Bird