---
name: "fusioninventory-injector"
section: "1p"
platform: "linux"
package: "fusioninventory-agent"
version: "1:2.6-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fusioninventory-injector"
---

# fusioninventory-injector(1p)

A tool to push inventory in an OCS Inventory or compatible server.

## NAME

fusioninventory-injector - A tool to push inventory in an OCS Inventory or compatible server.

## SYNOPSIS

fusioninventory-injector \[options\] \[--file \<file\>\|--directory \<directory\>\|--stdin\|--useragent \<user-agent\>\]

```
  Options:
    -h --help      this menu
    -d --directory load every .ocs files from a directory
    -R --recursive recursively load .ocs files from <directory>
    -f --file      load a specific file
    -u --url       server URL
    -r --remove    remove succesfuly injected files
    -v --verbose   verbose mode
    --stdin        read data from STDIN
    --useragent    set used HTTP User-Agent for POST
    -x --xml-ua    use Client version found in XML as User-Agent for POST
    --no-ssl-check do not check server SSL certificate
    -C --no-compression don't compress sent XML inventories
  Examples:
    fusioninventory-injector -v -f /tmp/toto-2010-09-10-11-42-22.ocs --url https://login:pw@example/plugins/fusioninventory/
    fusioninventory-injector -v -R -d /srv/ftp/fusion --url https://login:pw@example/plugins/fusioninventory/
```

## DESCRIPTION

This tool can be used to test your server, do benchmark or push inventory from off-line machine.
