LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



mkmanifest

mkmanifest [files]

Create a list of filenames and their DOS 8.3 equivalents in the form of a series of mv commands. By default, the output is written to standard output; to create a shell script, redirect the output to a file. Useful if you use mcopy to move the files to an MS-DOS diskette, and you want to be able to later restore them to a Linux system. Files with names that already fit into the 8.3 format are not written to the manifest. See mtools for more information.

Example

$ mkmanifest mylong.filename.html mylonger.filename.html \ > mymanifest $ cat mymanifest mv mylongxf.htm mylong.filename.html mv mylonger.htm mylonger.filename.html

The file mymanifest can later be made executable and run to rename the files to their original names.