home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book HomeJava and XSLTSearch this book

8.67. ExtUtils::Command

Provided with the standard Win32 port to replace common Unix commands in MakeFiles. Includes subroutines for the following commands.

cat

cat file... [> destination]

Concatenates all specified files into destination file or to STDOUT.

chmod

chmod mode files...

Sets Unix-like permissions on all files specified. mode gives the permissions to set.

cp

cp source... destination

Copies a single source file source to destination. Multiple source files can be specified if destination is an existing directory.

eqtime

eqtime source destination

Sets the "modified time" of destination to that of source.

mkpath

mkpath directory...

Creates directory, including any parent directories.

mv

mv source... destination

Moves sourcefile source to destination. Multiple sourcefiles are allowed if destination is an existing directory.

rm_f

rm_f files....

Removes files, even if they are read-only.

rm_rf

rm_rf directories....

Removes directories recursively, even if they are read-only.

test_f

test_f file

Tests for the existence of file.

touch

touch file....

Makes sure file exists and sets the current timestamp.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.











??????????????@Mail.ru