Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Runtime Library: OS Command Wrapping

This library has 109 classes.

ECF: os-command.ecf

Source code: directory list

Classes for creating cross platform wrappers of OS commands with about 30 "out of the box" commands provided.

General Features

Information Commands

These are "out of the box" command for obtaining system information.

Directory: library/runtime/process/commands

[ . ]

. /file

. /file/archive

. /file/patch

. /imp_common

. /imp_mswin/kernel

. /imp_mswin/system

. /imp_mswin/system/file

. /imp_mswin/system/file/copy

. /imp_mswin/system/file/find

. /imp_mswin/system/info

. /imp_unix/kernel

. /imp_unix/system

. /imp_unix/system/file

. /imp_unix/system/file/copy

. /imp_unix/system/file/find

. /imp_unix/system/info

. /internet/backup

. /internet/email

. /internet/ssh

. /kernel

. /system

. /system/file

. /system/file/copy

. /system/file/find

. /system/file/find/condition

. /system/file/gvfs

. /system/gsetting

. /system/info

[ . ]

EL_COMMAND_FACTORY

Command factory accessible via EL_MODULE_COMMAND

EL_MODULE_COMMAND

Shared access to routines of class EL_COMMAND_FACTORY

Further Information

Click on class link to see client examples.

EL_NATIVE_FILE_LISTING

Implementation of EL_FILE_LISTING that uses native OS commands find (on Unix) and dir (on Windows). These are highly optimized so better performance can be expected, especially on large listings.

file

EL_FILE_CONVERSION_COMMAND_I

Command that converts files from one type to anothers

EL_GVFS_VOLUME

Gnome Virtual Filesystem volume

Further Information

Click on class link to see client examples.

EL_MD5_SUM_COMMAND

Wrapper for Unix md5sum command

EL_NATIVE_DIRECTORY_CONTENT_PROCESSOR

Implementation of EL_DIRECTORY_CONTENT_PROCESSOR that uses native OS commands to obtain file listings

Further Information

Click on class link to see client examples.

EL_NATIVE_DIRECTORY_PATH_LIST

Implementation of EL_DIRECTORY_PATH_LIST that uses native OS commands to obtain file listings

Further Information

Click on class link to see client examples.

EL_NATIVE_DIRECTORY_TREE_FILE_PROCESSOR

Implementation of EL_DIRECTORY_TREE_FILE_PROCESSOR that uses native OS commands to obtain file listings

Further Information

Click on class link to see client examples.

file/archive

EL_CREATE_TAR_COMMAND

Create archive using Unix tar command

Further Information

Click on class link to see client examples.

file/patch

EL_APPLY_PATCH_COMMAND

Apply patch command bspatch to binary patch

EL_GENERATE_PATCH_COMMAND

Wrapper for Unix bsdiff command to generate a binary patch that can be applied with bspatch

imp_common

EL_SEND_MAIL_COMMAND_IMP

Implementation of EL_SEND_MAIL_COMMAND_I

EL_SSH_RSYNC_COMMAND_IMP

Common implementation of EL_SSH_RSYNC_COMMAND_I

imp_mswin/kernel

EL_OS_COMMAND_IMP

Windows implementation of EL_OS_COMMAND_I interface

imp_mswin/system

EL_SYSTEM_ROUTINES_IMP

Windows implementation of EL_SYSTEM_ROUTINES_I interface

imp_mswin/system/file

EL_CREATE_LINK_COMMAND_IMP

Windows implementation of EL_CREATE_LINK_COMMAND_I interface

EL_DELETE_FILE_COMMAND_IMP

Windows implementation of EL_DELETE_FILE_COMMAND_I interface

EL_DELETE_TREE_COMMAND_IMP

Windows implementation of EL_DELETE_TREE_COMMAND_I interface

EL_DIRECTORY_INFO_COMMAND_IMP

Windows implementation of EL_DIRECTORY_INFO_COMMAND_I interface

EL_JPEG_FILE_INFO_COMMAND_IMP

Windows implementation of EL_JPEG_FILE_INFO_COMMAND_I

EL_MAKE_DIRECTORY_COMMAND_IMP

Windows implementation of EL_MAKE_DIRECTORY_COMMAND_I interface

EL_MOVE_FILE_COMMAND_IMP

Windows implementation of EL_MOVE_FILE_COMMAND_I interface

EL_MOVE_TO_DIRECTORY_COMMAND_IMP

Windows implemenation of EL_MOVE_TO_DIRECTORY_COMMAND_I

imp_mswin/system/file/copy

EL_COPY_FILE_COMMAND_IMP

Windows implementation of EL_COPY_FILE_COMMAND_I interface

EL_COPY_TREE_COMMAND_IMP

Windows implementation of EL_COPY_TREE_COMMAND_I interface

Further Information

Click on class link to see client examples.

imp_mswin/system/file/find

EL_FIND_COMMAND_IMP

Windows implementation of EL_FIND_COMMAND_I

EL_FIND_DIRECTORIES_COMMAND_IMP

Windows implementation of EL_FIND_DIRECTORIES_COMMAND_I interface

EL_FIND_FILES_COMMAND_IMP

Windows implementation of EL_FIND_FILES_COMMAND_I interface

Further Information

Click on class link to see client examples.

EL_WINDOWS_DIR_PATH_LINE_SOURCE

Causes the search directory to appear at start of list to match Unix

EL_WINDOWS_FILE_PATH_LINE_SOURCE

Adjust the path items to be either absolute or relative so as to match output of Unix find command.

imp_mswin/system/info

EL_CPU_INFO_COMMAND_IMP

Windows implementation of EL_CPU_INFO_COMMAND_I

Further Information

Click on class link to see notes and client examples.

EL_USERS_INFO_COMMAND_IMP

Windows implementation of EL_USERS_INFO_COMMAND_I interface

Further Information

Click on class link to see client examples.

imp_unix/kernel

EL_OS_COMMAND_IMP

Unix implementation of EL_OS_COMMAND_I interface

imp_unix/system

EL_SYSTEM_ROUTINES_IMP

Unix implementation of EL_SYSTEM_ROUTINES_I interface

imp_unix/system/file

EL_CREATE_LINK_COMMAND_IMP

Unix implementation of EL_CREATE_LINK_COMMAND_I interface

EL_DELETE_FILE_COMMAND_IMP

Unix implementation of EL_DELETE_FILE_COMMAND_I interface

EL_DELETE_TREE_COMMAND_IMP

Unix implementation of EL_DELETE_TREE_COMMAND_I interface

EL_DIRECTORY_INFO_COMMAND_IMP

Unix implementation of EL_DIRECTORY_INFO_COMMAND_I interface

EL_JPEG_FILE_INFO_COMMAND_IMP

Unix implementation of EL_JPEG_FILE_INFO_COMMAND_I

EL_MAKE_DIRECTORY_COMMAND_IMP

Unix implementation of EL_MAKE_DIRECTORY_COMMAND_I interface

EL_MOVE_FILE_COMMAND_IMP

Unix implementation of EL_MOVE_FILE_COMMAND_I interface

EL_MOVE_TO_DIRECTORY_COMMAND_IMP

Unix implemenation of EL_MOVE_TO_DIRECTORY_COMMAND_I

imp_unix/system/file/copy

EL_COPY_FILE_COMMAND_IMP

Unix implementation of EL_COPY_FILE_COMMAND_I interface

EL_COPY_TREE_COMMAND_IMP

Unix implementation of EL_COPY_TREE_COMMAND_I interface

Further Information

Click on class link to see client examples.

EL_UNIX_CP_TEMPLATE

Unix copy command template

imp_unix/system/file/find

EL_FIND_COMMAND_IMP

Unix implementation of EL_OS_COMMAND_IMP for find commands

EL_FIND_DIRECTORIES_COMMAND_IMP

Unix implementation of EL_FIND_DIRECTORIES_COMMAND_I interface

EL_FIND_FILES_COMMAND_IMP

Unix implementation of EL_FIND_FILES_COMMAND_I interface

Further Information

Click on class link to see client examples.

EL_UNIX_FIND_TEMPLATE

Unix find template

imp_unix/system/info

EL_CPU_INFO_COMMAND_IMP

Unix implementation of EL_CPU_INFO_COMMAND_I

Further Information

Click on class link to see client examples.

EL_USERS_INFO_COMMAND_IMP

Unix implementation of EL_USERS_INFO_COMMAND_I interface

Further Information

Click on class link to see client examples.

internet/backup

EL_FTP_MIRROR_COMMAND

Mirror local to remote directory using Unix lftp command

Further Information

Click on class link to see client examples.

EL_MIRROR_BACKUP

Backup mirroring for protocols ftp, ssh or file using Unix commands rsync and lftp

Further Information

Click on class link to see client examples.

EL_MIRROR_COMMAND

OS command that mirrors a directory either locally or remotely

EL_RSYNC_COMMAND

Mirror directory using Unix rsync command

Further Information

Click on class link to see client examples.

EL_RSYNC_SSH_COMMAND

Mirror to remote directory using Unix rsync command over a secure shell connection

Further Information

Click on class link to see client examples.

internet/email

EL_EMAIL

Email

EL_SEND_MAIL_COMMAND_I

Send mail command i

internet/ssh

EL_SECURE_SHELL_COMMAND

Command that uses a secure shell with ssh

EL_SSH_COPY_COMMAND

Wrapper for Unix scp command

EL_SSH_MAKE_DIRECTORY_COMMAND

Make remote directory via Unix ssh command

EL_SSH_RSYNC_COMMAND_I

Remote file synchronization using rsync

if user_domain is set then transfers over ssh connection

kernel

EL_CAPTURED_OS_COMMAND

General purpose OS command that captures output lines of substituted command template

Further Information

Click on class link to see client examples.

EL_CAPTURED_OS_COMMAND_I

OS command with captured output

EL_DIR_PATH_OPERAND_COMMAND_I

Dir path operand command interface

EL_DOUBLE_PATH_OPERAND_COMMAND_I

Double path operand command i

EL_FILE_PATH_OPERAND_COMMAND_I

File path operand command interface

EL_OS_COMMAND

General purpose OS command using an externally supplied template

Further Information

Click on class link to see client examples.

EL_OS_COMMAND_CONSTANTS

OS command constants

EL_OS_COMMAND_I

Operating System command interface

Further Information

Click on class link to see notes and client examples.

EL_PARSED_CAPTURED_OS_COMMAND

A EL_CAPTURED_OS_COMMAND with arguments parsed and set in the attribute var with type defined as a class parameter

Further Information

Click on class link to see notes, descendants and client examples.

EL_PARSED_OS_COMMAND

A EL_OS_COMMAND with arguments parsed and set in the attribute var with type defined as a class parameter

Further Information

Click on class link to see notes, descendants and client examples.

EL_SINGLE_PATH_OPERAND_COMMAND_I

Single path operand command i

system

EL_MODULE_OS

Shared access to routines of class EL_OS_ROUTINES_I

Further Information

Click on class link to see client examples.

EL_MODULE_SYSTEM

Shared access to routines of class EL_SYSTEM_ROUTINES_I

Further Information

Click on class link to see client examples.

EL_OS_ROUTINES

OS operations based on command line utilities

Further Information

Click on class link to see notes.

EL_SYSTEM_ROUTINES_I

System operations based on command line utilities

Further Information

Click on class link to see notes and client examples.

system/file

EL_CREATE_LINK_COMMAND_I

Command to create a symbolic link to a file or directory

EL_DELETE_FILE_COMMAND_I

Delete file command i

EL_DELETE_TREE_COMMAND_I

Delete tree command i

EL_DIRECTORY_INFO_COMMAND_I

Command to find file count and directory file content size

EL_FILE_RELOCATION_COMMAND_I

File relocation command i

EL_JPEG_FILE_INFO_COMMAND_I

Jpeg file info command i

EL_MAKE_DIRECTORY_COMMAND_I

Make directory command

EL_MOVE_FILE_COMMAND_I

Move file command i

EL_MOVE_TO_DIRECTORY_COMMAND_I

Move file or directory source_path into destination_path

system/file/copy

EL_COPY_FILE_COMMAND_I

Copy file command interface

EL_COPY_TREE_COMMAND_I

Copy tree command i

system/file/find

EL_FIND_COMMAND_I

Find command i

Further Information

Click on class link to see client examples.

EL_FIND_DIRECTORIES_COMMAND_I

Find directories command i

EL_FIND_FILES_COMMAND_I

Cross platform interface to EL_FIND_FILES_COMMAND_IMP

Further Information

Click on class link to see client examples.

system/file/find/condition

EL_ANY_FILE_FIND_CONDITION

Default filter condition for class EL_FIND_COMMAND_I

EL_BASE_NAME_IN_LIST_FIND_CONDITION

File list filter condition is met if path base name matches any in list

EL_FIND_FILE_CONDITION

Filter condition for appending to path_list in class EL_FIND_COMMAND_I

EL_FIND_FILE_FILTER_FACTORY

Path filters applicable to classes conforming to EL_FIND_COMMAND_I

EL_PREDICATE_FIND_CONDITION

File list filter condition is met if agent predicate returns True

Further Information

Click on class link to see client examples.

EL_SHARED_FIND_FILE_FILTER_FACTORY

Shared access to instance of EL_FIND_FILE_FILTER_FACTORY

Further Information

Click on class link to see client examples.

system/file/gvfs

EL_GVFS_FILE_COUNT_COMMAND

Parses output of command

gvfs-ls "$uri" | grep -c "^.*$"

EL_GVFS_FILE_EXISTS_COMMAND

Gvfs file exists command

Further Information

Click on class link to see client examples.

EL_GVFS_FILE_LIST_COMMAND

Gvfs file list command

EL_GVFS_MOUNT_TABLE

Table of GVFS mounts as for example: E2105 -> mtp://[usb:003,005]/

Further Information

Click on class link to see client examples.

EL_GVFS_OS_COMMAND

GIO virtual file system OS command

Further Information

Click on class link to see client examples.

EL_GVFS_REMOVE_FILE_COMMAND

Gvfs remove file command

system/gsetting

EL_GET_GNOME_SETTING_COMMAND

Get gnome setting command

Further Information

Click on class link to see client examples.

EL_GNOME_SETTING_COMMAND

Gnome setting command

EL_SET_GNOME_SETTING_COMMAND

Set gnome setting command

system/info

EL_CPU_INFO_COMMAND_I

Cross-platform command to obtain CPU model name

Further Information

Click on class link to see client examples.

EL_USERS_INFO_COMMAND_I

Creates a list of system users that have a directory in Directory.home. For Windows this is usually C:\Users and for Linux /home

The user list is best accessed via {EL_MODULE_SYSTEM}.user_list