tar is a bit unusual because it historically didn't use the - convention for options and the - and -- conventions are a GNU enhancement. Since all the options are bundled all at the beginning, the only logical way to handle arguments is in the order of appearance of the options. Say for example you are using tar in classic mode and options cfbv, where b is blocking factor, say pick 20. It would have to be written as
Code:
tar cfbv outputfile 20 inputfiles
or
Code:
tar cbfv 20 outputfile inputfiles
Of course, blocking factor is of little consequence for disk file output, only for tape devices.
Bookmarks