Copy and paste to file on linux1/5/2023 ![]() ![]() If the folder does not exist then the folder should be created and then contents should be copied. Unlike the case of when we copy a file we need destination directory to exist when we use cp command. Logs2 represents the destination directory Logs1/* represents all the contents of the directory logs1 In the above example, we used wildcard * and created the command cp logs1/* logs2 where
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |