05-26-2006
Here's a hint: use our search feature. This is a common question.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a tar file where the files have been tar'd along with the location of the file i.e
/opt/abc/file.txt
/opt/abc/file2.txt
I am trying to untar this file on a different server where /opt/abc does not exist.
How do I untar these files without the tar trying to create the structure... (3 Replies)
Discussion started by: handak9
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to UNTAR a TAR file at different location. Is it possible?
My TAR file contains the files with absolute path.
Malay (5 Replies)
Discussion started by: malaymaru
5 Replies
3. UNIX for Advanced & Expert Users
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies
4. Shell Programming and Scripting
Hi,
i have to transfer of files of User1 located in Location1 to user2 located in Location2 using shell script. Please suggest me. (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
5. Shell Programming and Scripting
Hi Everyone,
I have 1.txt
here
a
b
c' funny"yes";
d
e
The finally output is:
here
a
b
c
d
e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies
6. Shell Programming and Scripting
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies
7. Shell Programming and Scripting
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies
8. Shell Programming and Scripting
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies
9. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
10. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
fadvise(5) File Formats Manual fadvise(5)
NAME
fadvise: fadvise.h - structures needed when using the fadvise() function
SYNOPSIS
DESCRIPTION
The header defines the structures and and other literals needed when using the function (see fadvise(2)).
The structure contains the following members:
int fad_count number of entries in fad_plist[]
struct fad_parms fad_plist[1] array of struct fad_parms
The structure contains the following members:
enum fadv_hints fad_advice hint applying to parameter tuple.
off_t _fad_res1 may be one of the following: byte
offset of range in file; memory
allocation policy for cc-numa sys-
tems.
size_t _fad_res2 may be one of the following: byte
size of range in file; memory
locality to be used when allocating
memory on cc-numa systems; the
duration after which a dirty page
is to be written to the file sys-
tem.
APPLICATION USAGE
The following macros and aliases have been defined to align with the ISO POSIX-1 standard.
The following aliases can be used with the hint.
The following aliases can be used with the hint.
The following aliases can be used with the hint.
EXAMPLES
WARNINGS
For 32-bit applications, will be truncated to its least significant 32-bits for file systems that use 64-bit values.
SEE ALSO
fadvise(2), fcntl(2), posix_fadvise(2), fcntl(5), types(5).
STANDARDS CONFORMANCE
fadvise(5)