EnglishFrenchSpanish

OnWorks favicon

wg-fileImport - Online in the Cloud

Run wg-fileImport in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command wg-fileImport that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


fileImport - Import files into WebGUI's Asset Manager.

SYNOPSIS


fileImport --configFile config.conf --pathToFiles path
--parentAssetID id
[--groupToEdit group]
[--groupToView group]
[--owner id]
[--findByExt ext1,ext2,...]
[--ignoreExtInName]
[--webUser username]
[--recursive]
[--overwrite]
[--override]
[--quiet]

fileImport --help

DESCRIPTION


This WebGUI utility script imports files into WebGUI's Asset Manager attached to a
specified parent Asset, helping bulk uploads of content.

This utility is designed to be run as a superuser on Linux systems, since it needs to be
able to put files into WebGUI's data directories and change ownership of files. If you
want to run this utility without superuser privileges, use the --override option described
below.

--configFile config.conf
The WebGUI config file to use. Only the file name needs to be specified, since it will
be looked up inside WebGUI's configuration directory. This parameter is required.

--pathToFiles path
Path to a folder containing the files to import. This parameter is required.

--parentAssetId id
Attach the imported files to the Asset id in WebGUI's Asset Manager. This parameter
is required.

--groupToEdit id
Make members of WebGUI's group identified by id be able to edit the uploaded files. If
left unspecified, it defaults to Group ID 4, (Content Managers).

--groupToView id
Make members of WebGUI's group identified by id be able to view the uploaded files. If
left unspecified, it defaults to Group ID 7, (Everybody).

--owner id
Make WebGUI's user identified by id own the uploaded files. If left unspecified, it
defaults to User ID 3 (Admin).

--webUser username
The system user that your web server runs as. If left unspecified it will default to
www-data.

--override
This flag will allow you to run this utility without being the super user, but note
that it may not work as intended.

--skipOlderThan interval
Skip files older than interval seconds. If left unspecified, it will default to skip
no files.

--findByExt patterns
Import only those files with matching file extensions. patterns is a list of comma-
separated extensions to match. If left unspecified, it will default to import all
files.

--recursive
Import files recursively. If left unspecified, only files in the folder will be
imported, without following subfolders.

--overwrite
Overwrite any matching file URL with the new file rather than creating a new Asset for
the file. Instantiate the existing asset and replace the file.

--ignoreExtInName
Do not include the filename extension in the Title and menuTitle database fields.

--quiet
Disable all output unless there's an error.

--help
Shows this documentation, then exits.

EXIT VALUES


The following exit values are returned upon completion:

0 Successful execution.
1 Stop the script if not super user.
2 A folder can't be opened for reading.
3 Two files had the same name and were selected to be imported
during recursive mode.
4 Missing required parameter.
5 Specified parent AssetId does not exist.

Use wg-fileImport online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad