1fileutil::multi(n) file utilities fileutil::multi(n)
2
3
4
5______________________________________________________________________________
6
8 fileutil::multi - Multi-file operation, scatter/gather, standard object
9
11 package require Tcl 8.4
12
13 package require fileutil::multi ?0.1?
14
15 package require fileutil::multi::op ?0.1?
16
17 package require wip ?1.0?
18
19 ::fileutil::multi ?word...?
20
21______________________________________________________________________________
22
24 This package provides a single command to perform actions on multiple
25 files selected by glob patterns. It is a thin layer over the package
26 fileutil::multi::op which provides objects for the same. This package
27 simply creates a single such object and directs all file commands to
28 it.
29
30 At the core is a domain specific language allowing the easy specifica‐
31 tion of multi-file copy and/or move and/or deletion operations. Alter‐
32 nate names would be scatter/gather processor, or maybe even assembler.
33 For the detailed specification of this language, and examples, please
34 see the documention for the package fileutil::multi::op.
35
37 The main command of the package is:
38
39 ::fileutil::multi ?word...?
40 This command interprets the specified words as file commands to
41 execute. See the section FILE API of the documentation for the
42 package fileutil::multi::op for the set of acceptable commands,
43 their syntax, and semantics.
44
45 The result of the command is the result generated by the last
46 file command it executed.
47
49 This document, and the package it describes, will undoubtedly contain
50 bugs and other problems. Please report such in the category fileutil
51 of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please
52 also report any ideas for enhancements you may have for either package
53 and/or documentation.
54
55 When proposing code changes, please provide unified diffs, i.e the out‐
56 put of diff -u.
57
58 Note further that attachments are strongly preferred over inlined
59 patches. Attachments can be made by going to the Edit form of the
60 ticket immediately after its creation, and then using the left-most
61 button in the secondary navigation bar.
62
64 copy, file utilities, move, multi-file, remove
65
67 Programming tools
68
69
70
71tcllib 0.1 fileutil::multi(n)