02-05-2020
What did you try? Where and how did it fail?
What do you get if you specify /path/to/target/*txt?
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi,
ich just uploaded a file to the forum and found that the tar.gz extension for files is not allowed... i renamend the file to *.zip but tar.gz is a common format in the unix world. is it possible to change that?
tia,
DN2 (2 Replies)
Discussion started by: DukeNuke2
2 Replies
2. Shell Programming and Scripting
hi guys..
Since am a bit new to shell scripting, can anyone help me with this problem please.. i've been struggling with it since 2 days. :(
I have a directory lets say myFolder and within it I have sub directories let say myFolder1.tar, myFolder2, myFolder3, etc. I need to write a shell... (12 Replies)
Discussion started by: kanexxx
12 Replies
3. Shell Programming and Scripting
HI,
if I have a tarfile called pmapdata.tar that contains
tar -tvf pmapdata.tar
-rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt
-rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt
-rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies
4. Shell Programming and Scripting
I've been able to find all the extensionless files named photos using the command:
find /usr/local/apache/htdocs -name photos -print0
I need to copy those files to the name photos.php in their same directory.
I've found a bunch of xarg examples for moving to other directories but I wasn't... (7 Replies)
Discussion started by: dheian
7 Replies
5. UNIX for Advanced & Expert Users
I want to backup all the directory tress, including hidden directories, without copying any files.
find . -type d gives the perfect list.
When I tried tar, it won't work for me because it tars all the files.
find . -type d | xargs tar -cvf a.tar
So i tried rsync.
On my own test box, the... (4 Replies)
Discussion started by: fld2007
4 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
i have 2 directory of files, the first directory(ext1directory) contain files of extension .ext1 and the second directory(allextdirectory) contains files of multiple extensions (.ext1,.ext2,.ext3,..)
so i want to copy the files from directory 2(allextdirectory) that have the same name... (8 Replies)
Discussion started by: shelladdict
8 Replies
7. Shell Programming and Scripting
What's the command syntax for stripping out the tar.gz file extension in a bash command line (not script file). Thanks!
prompt/> ls *.tar.gz | <what comes here?> (3 Replies)
Discussion started by: ZillaG
3 Replies
8. Shell Programming and Scripting
Hi,
I have a directory which I am passing in my script as a parameter. Parameter name has been set to $TCH_FILE_DIRECTORY.
I want to know if there's atleast 1 (or more) files in this directory with the extension '.tch'. How can I find this using ksh. (4 Replies)
Discussion started by: Bhavesh Sharma
4 Replies
9. AIX
Quick question,
is it possible to make a Tar of completely directory and placing the tar file in it (will this cause even the tar file to tarred ?)
sample:
/opt/freeware/bin/tar -cvf - /oracle | gzip > /oracle/backup.tgz
will the tar file backup.tgz also include backup.tgz ?
i tried... (5 Replies)
Discussion started by: filosophizer
5 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have an inquiry on how do I use the find command in Solaris Unix to find some file ends with extension : txt, err in the root directory with modified date of 30days and this find command will also need to exclude b directory and its subdirectory. All the files from the above find criteria... (5 Replies)
Discussion started by: snowfrost88
5 Replies
gvsdmgr(1M) gvsdmgr(1M)
NAME
gvsdmgr - utility to manage HP-UX Mass Storage Virtual HBAs claimed by HPVM Guest AVIO Storage driver (gvsd)
SYNOPSIS
DESCRIPTION
is a diagnostic utility to be used for managing virtual HBAs claimed by the GVSD driver. This command provides the ability to retrieve
various configuration information, read and clear accumulated statistics of the virtual HBA and connected devices.
requires the use of a device file to indicate the interface over which the requested command needs to be performed.
Options and Arguments
recognizes the following command-line options and arguments:
This required argument specifies the device file.
This option provides a brief description of the command.
This option provides the target hardware path details corresponding to
the persistent device file. See intro(7) for information about hardware path and persistent device files.
Specifies the command's qualifiers.
A command is defined by a set of qualifiers which must be specified after the command name. Each qualifier is proceeded by the
option.
The supported qualifiers are:
(Valid only for the
command.) Clears all statistics for the virtual HBA and all target devices.
Specifies the target device, where:
specifies all targets in the device file.
tgt_id specifies a specific target in the device file.
Commands
recognizes the commands listed below. A command is defined by a set of qualifiers that are specified with the option.
All command keywords are case-sensitive.
When the
command is run without qualifiers, it clears statistics of the virtual HBA represented by device_file.
clears all statistics for the virtual HBA and all targets.
clears statistics for all targets.
clears statistics for a specific target.
When the
command is run without qualifiers, it returns information about the virtual HBA represented by device_file.
Information returned by includes: target id, target path and the target state.
shows target information for all targets. If the option is used here, then it displays target path hardware path.
shows target information for a specific target.
When the
command is run without qualifiers, it shows statistics about the virtual HBA represented by device_file.
Information returned by includes: per target opens, close, I/O related statistics, and asynchronous event related statistics.
shows statistics for all targets.
shows statistics for the specified target.
Security Restrictions
requires superuser privilege for execution. See privileges(5) for more information about privileged access on systems that support fine-
grained privileges.
EXAMPLES
Display adapter information of the virtual HBA whose device file is
Display all target information of the virtual HBA whose device file is
Clear statistics for a target with target id of the virtual HBA whose device file is
AUTHOR
was developed by HP.
SEE ALSO
privileges(5), intro(7).
gvsdmgr(1M)