Sponsored Content
Operating Systems Solaris Delete and copy file(s) slowly(!?) Post 302169310 by manikantants on Wednesday 20th of February 2008 11:59:16 PM
Old 02-21-2008
well, where do you need a backup ? in some other mount of the same machine or to some external storage device ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Telnet and file Copy/Delete Problem

Hi there....I'm new for the UNIX... just wondering if there is any method that can telnet to a server without typing the userID and PWD each time... that is any command or scripts that allows me to enter the server directly? also...after i enter the server... i want to get some files then... (17 Replies)
Discussion started by: biglemon
17 Replies

2. Shell Programming and Scripting

Unzip, copy, and delete loop

Hey there, I am trying to move zipped text files from a remote server to a remote tape storage facility, through my home directory. What I want to do is get the zip file (using scp), unzip it, copy the output text file which was inside (using rfcp) to the tape storage server, and then delete... (3 Replies)
Discussion started by: spyne
3 Replies

3. Shell Programming and Scripting

How to copy to server & delete locally?

Hi, I've got a cronjob running daily creating backup files. How can I send that created file to a remote server & then delete it on my workstation to save space? The filename format is as follows: proj_bk_20070624_15h30, proj_bk_20070625_15h30, etc tar cvf - /project | gzip -c > proj_bk_$(date... (3 Replies)
Discussion started by: mokgonec
3 Replies

4. Shell Programming and Scripting

Copy and Delete Question

I have a script to tar up some older files. It did a find and mv, but I had to change it to preserve the directory structure because some of the directories now have duplicate nameed files. I changed it to a find and copy, then added a find and remove. Is there a better way so I don't have to... (2 Replies)
Discussion started by: prismtx
2 Replies

5. Shell Programming and Scripting

Script required to copy and delete files

Hi All, I have written a script to ensure all my ARCHIVE files are backed up retaining the directory structure. The Script is-- #!/bin/sh # Script to take backup of DCS Folders # The file locations are /ftp/edi_ftp/edi_p/dcsftp/DCS/*/ARCHIVE DCSITIME=$(perl -e '($ss, $mm, $hh, $DD, $MM,... (3 Replies)
Discussion started by: srnagu
3 Replies

6. Shell Programming and Scripting

Shell script for searching a record,copy to a file and then delete it

Hi, I have a requirement in hand: I have a file with millions of records say file 1.I have another file, say file 2 which has 2000 records in it. The requirement is to read file2 , and remove the read record from file 1 and move i to a seperate file, file 3. For eg: Read file 2, get the... (5 Replies)
Discussion started by: kumara2010
5 Replies

7. Shell Programming and Scripting

Loop folders, delete files, copy new ones

Folks, I am hopeful that you may be able to help me out with writing a script that can be run nightly (as cron?) to loop through all subfolders within the "/media" directory, delete all of the files in each of them, and then copy in all of the files from the "/home//sansa" directory to each of... (6 Replies)
Discussion started by: acraig
6 Replies

8. Shell Programming and Scripting

copy, then delete lines in file with sed using a pattern

I need to copy lines to a new file from files with sed using a pattern in char postions 1-3. Then after the copy, I need to delete those same lines from the input files. For example, string "ABC" in pos 1-3 (6 Replies)
Discussion started by: laksjfhoius9123
6 Replies

9. Shell Programming and Scripting

Md5sum is running very slowly

Hi, I am trying to get the hash values of md5 of a string. I am on Redhat Linux. using the 25-27 field in the file I need to generate the md5 and append it at the end of the record as a new field. I have tried the below code but its painfully slow. can you please suggest any alternatives or... (21 Replies)
Discussion started by: ahmedwaseem2000
21 Replies
fstab(4)						     Kernel Interfaces Manual							  fstab(4)

NAME
fstab - static information about the file systems SYNOPSIS
DESCRIPTION
is an ASCII file that resides in directory contains a list of mountable file-system entries. Each file-system entry appears on a separate line, and consists of fields separated by one or more blanks or tabs. The order of entries in is important only for entries without a pass number field. Entries without a pass number are sequentially checked by (see fsck(1M)) after the entries with a pass number have been checked. Each file-system entry must contain a device special file and may additionally contain all of the following fields, in the following order: directory type options backup frequency pass number (on parallel comment If any field after the name of the device special file is present, all fields must be present in the order indicated, to ensure correct place-holding. Entries from this file are accessed using (see getmntent(3X)). The fields are separated by white space, and a as the first non-whitespace character in an entry or field indicates a comment. device special file A block device special file name. This field is used by and other commands to identify the location of the storage device on which the file system resides. If type is this entry is ignored since a block device is not required for a memory file system. directory Name of the root of the mounted file system that corresponds to the device special file. If type is there is no corre- sponding device special file; directory is the root of the memory based file system. If type is directory can be the name of any directory within a file system. Only one directory should be specified per file system. directory must already exist and must be given as an absolute path name. type Can be or a file system type (for example, or If type is the device special file is made available as an area of swap space by the command (see swapon(1M)). The options field is valid. The fields directory, pass number, and backup frequency are ignored for entries. If type is the file system in which directory resides is made available as swap space by The options field is valid. The fields device special file, pass number, and backup frequency are ignored for entries. If type is the device special file field is ignored; the corresponding entry displayed in is Additionally, if type is will skip the entry even for matches of directory, if a different type is specified to If type is the device special file is made available as an area into which a system crash dump may occur, by the com- mand (see crashconf(1M)). The fields options, directory, pass number, and backup frequency are ignored for entries. Entries marked by the type are ignored by all commands and can be used to mark unused sections. If type is specified as either or the entry is ignored by the and commands (see mount(1M) and fsck(1M)). fsck also ignores entries with type specified as or options A comma-separated list of option keywords, as found in or (see mount(1M) and swapon(1M)). The keywords used depend on the parameter specified in type. backup frequency Reserved for possible use by future backup utilities. pass number Used by the command to determine the order in which file system checks are done. The root file system should be speci- fied with a pass number of 1, to be checked first, and other file systems should have larger numbers. (A file system with a pass number of zero is ignored by the command.) File systems within a drive should be assigned different pass numbers, but file systems on different drives can be checked on the same pass, to utilize possible parallelism available in the hardware. If pass number is not present, checks each such file system sequentially after all eligible file systems with pass numbers have been checked. comment An optional field that begins with a character and ends with a new-line character. Space from the pass number to the comment field (if present) or to the new-line is reserved for future use. There is no limit to the number of device special file fields in NETWORKING FEATURES
NFS If the field type is a remote NFS file system is implied. For NFS file systems, the device special file should be the serving machine name followed by ":" followed by the path on the serving machine of the directory being served. The pass number and backup frequency fields are ignored for NFS entries. EXAMPLES
Examples of typical entries: Add an HFS file system at using default mount options; (backup frequency 0) fsck pass 2: Add a device to a system managed using LVM, with default options (Note, the directory field cannot be empty, even though it is ignored): Add a swap device on a system implementing whole-disk layout to use the space after the end of the file system (options Add file system swap space on the file system containing directory type is set options to and (see swapon(1M)) for explanation of options). device field is ignored but must not be empty: (Note that both a file system entry and a swap entry are required for devices providing both services.) Use a device for dump space if the system crashes. directory field is ignored but must not be empty: (Note that both a swap entry and a dump entry are required for devices providing both services.) Add a MemFS file system at of The device special file field is ignored but must not be empty: WARNINGS
HP-UX system administration tools that provide file system mount management interfaces may read and/or write System administrators should be careful not to simultaneously modify this file with one of these tools. DEPENDENCIES
NFS Here is an example for mounting an NFS file system on systems that support NFS file systems: AUTHOR
fstab was developed by HP, AT&T, Sun Microsystems, Inc., and the University of California, Berkeley. FILES
SEE ALSO
crashconf(1M), fsck(1M), mount(1M), swapon(1M), getfsent(3X), getmntent(3X), mnttab(4). fstab(4)
All times are GMT -4. The time now is 06:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy