info man howto
Сообщения: 6958
Благодарности: 384
|
Профиль
|
Сайт
|
Отправить PM
| Цитировать
man cp
Цитата:
ОБЗОР
cp [опции] файл путь
cp [опции] файл... каталог
Опции POSIX: [-fiprR] [--]
Дополнительные опции POSIX 1003.1-2003: [-HLP]
Опции GNU file-utils 4.0 (краткая форма):
[-abdfilprsuvxPR] [-S СУФФИКС] [-V {numbered,existing,simple}]
[--backup=CONTROL] [--sparse=КОГДА] [--help] [--version] [--]
Дополнительные опции GNU file-utils 4.1 (краткая форма):
[-HLP] [--copy-contents] [--no-preserve] [--reply=HOW] [--remove-desti-
nation] [--strip-trailing-slashes] [--target-directory=DIR]
ОПИСАНИЕ
cp копирует файлы (или, если попросить, каталоги). Вы можете либо
копировать один файл в другой, заданный файл, либо копировать сколько
угодно файлов в заданный каталог.
|
man trap
Цитата:
trap [-lp] [[arg] sigspec ...]
The command arg is to be read and executed when the shell
receives signal(s) sigspec. If arg is absent (and there is a
single sigspec) or -, each specified signal is reset to its
original disposition (the value it had upon entrance to the
shell). If arg is the null string the signal specified by each
sigspec is ignored by the shell and by the commands it invokes.
If arg is not present and -p has been supplied, then the trap
commands associated with each sigspec are displayed. If no
arguments are supplied or if only -p is given, trap prints the
list of commands associated with each signal.
|
Ну и потом посчитать сколько раз скопировалось, сколько раз вызвался сигнал ошибки.
Ну и для отчёта
echo > имя_файла_отчёта
|
-------
Поспешай не торопясь
Отправлено: 15:55, 04-05-2008
| #2
|