answersLogoWhite

0


Best Answer

The easiest way is to use the 'cp' command. Put the name of all the files in the 'cp' command line and use another directory as the target; all the files will be copied to the new directory.

Note: you may need to use the -r (recursive) copy option if you have subdirectories in the source directory.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you transfer multiple files from one directory to another in UNIX os?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the directory used for?

A directory is a holding place for multiple files and sub-directories. Are you asking about a specific directory?


Write a shell script to create two directories and store five files in one directory using the related commands and to transfer all the Files to another directory?

#!/bin/sh mkdir homework lazyass for i in $(seq 5); do touch homework/file-$i; done mv homework/* lazyass


Write a shell script that copies multiple files to a directory?

why not use the cp command to copy multiple files, i.e. cp file1 file2 file3 dir Rick


Is there any way to transfer files from one mediafire account to another mediafire account?

No it is not possible to transfer the files from one account to another.


How do i transfer one file to another?

To transfer one file to another you have to establish a connection. Once you identify your target files, simply click on the move option to transfer the files.


How do you transfer files from an xbox hard drive to another without losing data?

The easiest way to transfer files from an Xbox hard drove to another without losing data is to buy a hard drive transfer kit or transfer cable. It will connect the two hard drives and transfer the files directly. It is also possible to transfer the files by using a flash drive.


What is a java directory?

collection of files and directory


What is it called when you get files from another computer or over a network?

Transfer


What is the directory name on computers?

C: is the main directory.In computing, a directory, catalog, folderor drawer is an entity in a file system, which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a subdirectory of that directory. Together, the directories form a hierarchy, or tree structure.


Shell script that copies multiple files to a directory?

That's what cp(1) program is good for: cp this that "something else" /dir/to/


What are subdirectories or folders?

Computers store data in a series of directories. Each directory, or folder, may contain files or other directories. If a directory is located within another directory, it is called a sub-directory (or sub-folder) of that folder.


How does one transfer music files to another person on the internet?

One can transfer music files to another person on the internet by attaching it onto an email and sending it to the person or sending a link to them from an instant messenger.