Sponsored Content
Operating Systems Solaris Copy files from the file to another directory Post 302152609 by shreethik on Thursday 20th of December 2007 02:07:38 PM
Old 12-20-2007
Copy files from the file to another directory

I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it?
Thanks In advance
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy files from one directory to another

I need to copy about 13 Tb of data from one directory and subdirectories to the other (another mount point). If I run this as a cron, say between 10 pm and 7 am, not all of the files will be copied over. Is there a way of 'resuming' the copy the following evenings until all files are copied over? (0 Replies)
Discussion started by: hd2006
0 Replies

2. Shell Programming and Scripting

Copy files from one directory to another

Hi when copy the files from one directory to another as like below,it is tried to copy *. as a file. cp /home/rha/*. My objective is to copy all the files (don't care about case sensitive), Thanks in advance for your valuable reply. (1 Reply)
Discussion started by: HAA
1 Replies

3. UNIX for Dummies Questions & Answers

How to copy all files into the same directory

Dear All, Again I have another simple question. :confused: I want to write a csh which can copy all files of a current directory with a new name in the same directory, I mean: If I have tree bird apple as files in a directory I want to give ,say number 007 as argument to my csh and it copies... (3 Replies)
Discussion started by: dreamer0085
3 Replies

4. UNIX for Dummies Questions & Answers

using gsed with cp to sort files in directory - every N file copy to new place

Hi all, I'm having a problem with some basic piping issues... I have been able to get in a directory and ls | gsed in order to list every N file for instance: ls | gsed -n '2~5p' The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
4 Replies

5. UNIX for Dummies Questions & Answers

regularly copy files to different directory with different file extentions

I have a NAS and I upload my videos to it from time to time. the video format is 3gp but my media player PBO could only play avi. I want to copy these files to different directory and change the extention from 3gp to avi. (yes I want to keep the original version and create a duplicate version with... (0 Replies)
Discussion started by: momentum
0 Replies

6. UNIX for Dummies Questions & Answers

Copy files into another directory

I have a folder will a lot of documents (pdf, xls, doc etc.) which users have uploaded but only 20% of them are currently linking from my html files. So my goal is to copy only the files which are linked in my html files from my Document directory into another directory. Eg: My documents exist... (5 Replies)
Discussion started by: ankitha
5 Replies

7. Shell Programming and Scripting

how to copy the directory but not copy certain file

Hi experts cp bin root src /mnt but not copy bin/bigfile any help? ( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum) Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies

8. Red Hat

Unable to copy files due to many files in directory

I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs.. even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies

9. Shell Programming and Scripting

Copy files listed in text file to new directory

I am trying to write a script that will copy all file listed in a text file (100s of file names) to a new directory Assume script will run with main as current working directory and I know how many files/lines will be in List.txt Im trying to work up a test script using this model Contents of... (2 Replies)
Discussion started by: IAmTheGrass
2 Replies

10. Shell Programming and Scripting

Copy the files in directory and sub folders as it is to another directory.

How to copy files from one directory to another directory with the subfolders copied. If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*. I do not want to create sub folders in folder2. Can copy command create them automatically? I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
4 Replies
efi_cp(1M)																efi_cp(1M)

NAME
efi_cp - copy to or from EFI file SYNOPSIS
devicefile] file1 file2 devicefile] file1 [file2]... dest-directory devicefile] file_or_dir1 [file_or_dir2]... dest-directory DESCRIPTION
copies files between HP-UX and EFI file systems. The EFI file system is based on the FAT file system and used by the Itanium-based system BIOS to locate an HP-UX bootloader. See efi(4). Without the option, copies from an HP-UX file system to the EFI volume specified by devicefile; in this case, the destination should be relative to the root of the EFI volume specified by devicefile. Use the option to copy from an EFI file system to an HP-UX file system; with the option, only a single regular file may be copied at a time. With two arguments: o If file2 does not exist, creates it and copies the contents of file1 into file2. o If file2 exists and is a regular file, deletes the the contents of file2 and copies the contents of file1 into file2. o If file2 exists and is a directory, creates a copy of file1 in that directory. With more than two arguments, the final argument must be an existing directory. If any of the other arguments is a directory, you must use the option, which specifies that the source directory and the subtree rooted there are to be copied to the destination directory. Options Options can be used singly or combined in any order before the file names. The space between option and argument is optional. devicefile is the device special file of the EFI file system to be copied. Without the option, uses the device file specified in the environment variable if it is defined. The option overrides the environment variable. Recursively copy the subtree rooted at each source directory to the destination directory. Copy file1 from an EFI volume to file2 in HP-UX file system. file1 should be relative to the root of the EFI volume specified by devicefile, not to an HP-UX file system. With the option, only a single regular file may be copied at a time. RETURN VALUE
returns exit code 0 if the copy is successful. Otherwise it prints a diagnostic message and returns nonzero. 0 Successful completion. >0 Error condition occurred. EXAMPLES
All the following examples copy to or from the EFI file system on device Copy into directory in the EFI file system on the specified device: Copy all files in current directory into directory in the EFI file system on the specified device Copy into directory in the EFI file system on the specified device and rename it Copy into the EFI boot directory of the EFI file system on the specified device: Copy into of the EFI file system on the device specified in the environment variable and rename it to Copy from the EFI file system on the specified device into the current HP-UX directory: Using a persistent device special file (dsf) copy from the EFI file system on the specified device into the current HP-UX directory (see intro(7)): AUTHOR
was developed by HP. SEE ALSO
efi_fsinit(1M), efi_ls(1M), efi_mkdir(1M), efi_rm(1M), efi_rmdir(1M), efi(4), intro(7). Itanium(R)-based Systems Only efi_cp(1M)
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy