09-06-2009
Try specifying the directory that the file is located in. If you are executing this from a different directory then the one that the file is located in then you would get this message.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
i want to write a script which could copy one file at a time from one directory to another directory.
Scenerio:
Let's say i have 100 file in a dirctory,so i want to copy one file at a time to another directory with a sleep statement in between that of 30 secs.
please help me... (1 Reply)
Discussion started by: Nikhilindurkar
1 Replies
2. Shell Programming and Scripting
Move a file from windows directory to unix directory, is this possible?
if it is, can someone help me on this?
Thanks! God bless! (1 Reply)
Discussion started by: kingpeejay
1 Replies
3. Shell Programming and Scripting
Hi,
I have to transfer five files from one directory to another directory in unix with the help of shell scripts. This shell script calling the param file as input parameter. Every day one file will come and fall on my source directory. Remaining files will fall on any one of the day of the... (5 Replies)
Discussion started by: easterraj
5 Replies
4. Shell Programming and Scripting
I Need help for one requirement,
I want to move the latest/Older file in the folder to another file. File have the datetimestamp in postfix.
Example:
Source Directory : \a
destination Directory : \a\b
File1 : xy_MMDDYYYYHHMM.txt (xy_032120101456.txt)
File2: xy_MMDDYYYYHHMM.txt... (1 Reply)
Discussion started by: pp_ayyanar
1 Replies
5. Shell Programming and Scripting
Script must removes files from the first directory if there is a file with same name in the second directory
Script passed to the two directories, it lies with them in one directory:
sh script_name dir1 dir2
This is my version, but it does not work :wall:
set - $2/*
for i
do
set -... (6 Replies)
Discussion started by: SLAMUL
6 Replies
6. Shell Programming and Scripting
got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies
7. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
8. Shell Programming and Scripting
I need a script which should watch a directory for a file with specific directory.
If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column.
The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies
9. Shell Programming and Scripting
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Discussion started by: digioleg54
9 Replies
10. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
vtagpg(8) System Manager's Manual vtagpg(8)
NAME
vtagpg - displays a formatted page of the tag directory
SYNOPSIS
/sbin/advfs/vtagpg special [page_LBN]
OPERANDS
Specifies the volume on which the tag directory is located. Specifies the logical block number (LBN) of the page to be examined; the
default is zero.
DESCRIPTION
The vtagpg utility translates a 16-block part of a volume of a mounted or unmounted file system and formats it as a tag directory. Use
this utility with other file utilities to locate file-structure anomalies for debugging.
If the volume is mounted, use the showfile -x command to get the extent map before calling the vtagpg command. If the volume is unmounted,
call the vbmtchain command to identify the extent information.
Run the vtagpg utility to obtain the root tag directory first because it has entries for each fileset in the domain. Then, run the utility
again to view the tag directory for the fileset under investigation. This tag information points to the fileset metadata.
The vtagpg utility displays tag entries that map file inode number to primary mcell location.
RESTRICTIONS
You must be the root user to use this command.
EXAMPLES
The following example displays the root tag directory located on volume dsk3h with LBN 96: # vtagpg /dev/rdisk/dsk3h 96
SEE ALSO
advscan(8), advfs(4)
vtagpg(8)