Categories
October Surprise 2024

What does “cp: omitting directory” mean? – Ask Ubuntu

The reason it says omitting directoryis because cpand all copy utilities, that I know of, create a list of files and sub-directories to be copied before starting to copy the files. When the –recursiveoptions is missing, sub-directories get bumped off this list. As such, omitting refers to removal from the copy list, not from your source media. I believe this addresses the meaning of the message.