Sponsored Content
Full Discussion: Move Large files
Top Forums UNIX for Dummies Questions & Answers Move Large files Post 302099901 by jim mcnamara on Thursday 14th of December 2006 02:56:48 PM
Old 12-14-2006
Code:
for i in f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16
do
   mv $i /destination/"$i"  &
done
wait

 

9 More Discussions You Might Find Interesting

1. AIX

Large file move from one server to another

I Have two AIX 5.3 servers. I want to move a 45GB file from Server B to Server A. Can I achieve this with using Tivoli? Or how could I achieve this, by mounting a directory from server B to server A? Any help apreciated! (14 Replies)
Discussion started by: tfort73
14 Replies

2. Shell Programming and Scripting

Divide large data files into smaller files

Hello everyone! I have 2 types of files in the following format: 1) *.fa >1234 ...some text... >2345 ...some text... >3456 ...some text... . . . . 2) *.info >1234 (7 Replies)
Discussion started by: ad23
7 Replies

3. Solaris

How to safely copy full filesystems with large files (10Gb files)

Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS. I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies

4. AIX

Large Data move from Win to AIX

Hi All, I have a requirement to move a large amount of data *approx 160 GB* from a windows formatted SAN to AIX. The data is made up of several hundred thousand small files. Does anyone have a recommendation for the best tool or best procedure for this? Regards, Neil (2 Replies)
Discussion started by: stewartna77
2 Replies

5. UNIX for Dummies Questions & Answers

Move same files and issue ls -al command on remaining files

I know I can use an ls -l junk1 command to get a listing of all files in the directory junk1, but I was wondering how I'd go about going through the files in junk1 in a for-in loop and issuing the ls -l command on them one by one. This is what I have so far: for file in $(ls -a $1) do ls... (1 Reply)
Discussion started by: Trinimini
1 Replies

6. Shell Programming and Scripting

Recursively move directories along with files/specific files

I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find ) The directory structure looks like :- /tmp a.log b.log c.log /abcd d.log e.log When I tried the following command , it movies all the log files... (8 Replies)
Discussion started by: frintocf
8 Replies

7. Shell Programming and Scripting

Move all files except sys date (today) files in Solaris 10

I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis. file name is in pattern file_2013031801, file_2013031802 etc (2 Replies)
Discussion started by: khattak
2 Replies

8. Shell Programming and Scripting

SBATCH trinity for multiple files and rename/move the output files

Hey guys, I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output) #!/bin/bash -l #SBATCH -p node #SBATCH -A <projectID> #SBATCH -n 16 #SBATCH -t 7-00:00:00 #SBATCH --mem=128GB #SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies

9. Shell Programming and Scripting

Move files with a certain suffix based on how many files are in another folder

Hello, First time poster. I am looking for a way to script or program the process of moving files from one folder to another, automatically, based on the count of files in the destination folder. I was thinking a shell script would work, but am open to the suggestions of the experts... (6 Replies)
Discussion started by: comtech
6 Replies
doconfig(8)						      System Manager's Manual						       doconfig(8)

Name
       doconfig - a program to aid system configuration

Syntax
       /etc/doconfig [-c config_file] [-e ed_script]

Description
       The  shell  script modifies a copy of the GENERIC configuration file for a new ULTRIX system kernel.  The script prompts you for the system
       name.  If the system name does not currently exist, a system configuration file with that system name is built.

       Whether the configuration file is built or not, the script then allows you to edit, configure, and build until both the	configuration  and
       the kernel build run without errors.  Additional runs of can be made to tune the configuration further.

       When new hardware is added to a system, the configuration file should be updated to reflect the new system configuration.  When updating an
       existing configuration file or creating a new configuration file with the system must be operating the generic kernel or new  hardware  may
       not be found.  To successfully complete the process, follow these steps:

       1.   Save the running as

       2.   Move to

       3.   Reboot the system to single user mode.

       4.   Check file systems.

       5.   Mount the file system.

       6.   Run the program.  (When execution is complete, make a note of the message prints showing the path and location of the new

       7.   Move to

       8.   Copy the new (from the message noted above) to

       9.   Reboot the system.

Options
       -c     The  name  of  the  existing  configuration  file should be supplied without specifying the pathname.  This file should exist in the
	      directory.  A new kernel is built using the specified configuration file.

       -e     When specified, the configuration file is edited by the ed script before building the new kernel.

Files
See Also
       ed(1), config(8)
       Basic Installation Guide
       Guide to System Configuration File Maintenance

								       RISC							       doconfig(8)
All times are GMT -4. The time now is 09:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy