i'm going over an existing code base with lots of scripts and "install" commands, and i'm finding some of the variations of that command being used a little odd, so i just want to ask the experts whether i really understand that command by throwing out a few of the examples. first, there are a number of groupings like this: install -d d1 install -d d1/d2 install -d d1/d2/d3 clearly(?), the above is overly wordy, you could just do: install -d d1/d2/d3 *unless* you were setting the mode of each directory separately (i am not aware of how you could do that in a single command). but if no modes are being specified and you just take the default, is there any conceivable rationale for breaking this over several lines? the other common usage is the ubiquitous: install -d d1/d2/d3 install -m 644 file d1/d2/d3 on the other hand, one *could* do this in a single line with: install -D m 644 file d1/d2/d3/file now, personally, i actually prefer the first two-line form as i think the one-line form is a bit busy, *but* i appreciate the power of doing: install -D genericfilename d1/d2/d3/installedfilename that is, automatically renaming the source file name to a new name during the process. again, in this code base, it's broken over two or more lines. anyway, just looking for confirmation that my understanding is correct, or if anyone has some really neat install-based tricks they use on a regular basis. rday To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org To visit the archives: https://lists.linux-ottawa.org