Hi.
I'm trying to get my find command to only search in the directory i tell it to, but i don't want it to search in the sub directories as well...
For example, i have a /data/files/ and /data/files/old
I want to search for all .sav files within /data/files but i don't want it to drill... (4 Replies)
Hey all,
I'm attempting to migrate a zone from one system to another, but I noticed that on the new system ssl BASEDIR was missing. I was wondering if creating the directory path for this would fix the issue when I migrate files over.
SSL is installed on the new system but does not show a... (1 Reply)
Hi,
I have to copy last modified Directory to another directory.How can i Do using pipe or redirect
cp -R 'ls -lrt|tail -1' test is not working.
please help. (3 Replies)
Hello, I have an RPM package for which I need to know the base directory /opt/appdir. But if the package is relocated, then it will be different. I need to get the value dynamically.
I tried to query the RPM with INSTPREFIXES but couldn't get the value. The only way I see is to do 'rpm -ql RPM... (2 Replies)
Hi experts
cp bin root src /mnt
but not copy bin/bigfile
any help?
( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum)
Thanks (6 Replies)
How to copy files from one directory to another directory with the subfolders copied.
If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*.
I do not want to create sub folders in folder2.
Can copy command create them automatically?
I tried cp -a and cp -R but did... (4 Replies)
HI
I have input file A.txt
X
Y
Z
File B.txt
1 X 10 AAA 11123
2 Y 22 PlD 4563
3 Z 55 PlD 54645
4 Z 66 PlD 15698
5 F 44 PlD 154798
6 C 55 PlD 12554
7 Z 88 PlD 23265
8 C 99 PlD 151654
9 C 11 PlD 21546546
I need New File C.txt (1 Reply)
Hi,
I have below directories
Direct 2013-08-12 23123
Direct 2013-08-13 24121
Direct 2013-08-14 34513
Direct 2013-08-31 15435
...........
Direct 2013-09-12 53145
Direct 2013-09-30 65234
Direct 2013-09-30 89642 (11 Replies)
friends
good morning
FTP works perfect but I have a doubt
if I want to transport 10 files, I imagine that I should not open 10 connections as I can transfer more than 1 file?
ftp -n <<!EOF
open caburga
user ephfact ephfact
cd /users/efactura/docONE/entrada
bin
mput EPH`date... (16 Replies)
Discussion started by: tricampeon81
16 Replies
LEARN ABOUT DEBIAN
contents
contents(4) File Formats contents(4)NAME
contents - list of files and associated packages
SYNOPSIS
/var/sadm/install/contents
DESCRIPTION
The file /var/sadm/install/contents is a source of information about the packages installed on the system. This file must never be edited
directly. Always use the package and patch commands (see SEE ALSO) to make changes to the contents file.
Each entry in the contents file is a single line. Fields in each entry are separated by a single space character.
Two major styles of entries exist, old style and new style. The following is the format of an old-style entry:
ftype class path package(s)
The following is the general format of a new-style entry:
path[=rpath] ftype class [ftype-optional-fields] package(s)
New-style entries differ for each ftype. The ftype designates the entry type, as specified in pkgmap(4). The format for new-style entries,
for each ftype, is as follows:
ftype s: path=rpath s class package
ftype l: path l class package
ftype d: path d class mode owner group package(s)
ftype b: path b class major minor mode owner group package
ftype c: path c class major minor mode owner group package
ftype f: path f class mode owner group size cksum modtime package
ftype x: path x class mode owner group package
ftype v: path v class mode owner group size cksum modtime package
ftype e: path e class mode owner group size cksum modtime package
A significant distinction between old- and new-style entries is that the former do not begin with a slash (/) character, while the latter
(new-style) always do. For example, the following are new-style entries:
d none /dev SUNWcsd
e passwd /etc/passwd SUNWcsr
The following are new-style entries:
/dev d none 0755 root sys SUNWcsr SUNWcsd
/etc/passwd e passwd 0644 root sys 580 48299 1077177419 SUNWcsr
The following are the descriptions of the fields in both old- and new-style entries.
path
The absolute path of the node being described. For ftype s (indicating a symbolic link) this is the indirect pointer (link) name.
rpath
The relative path to the real file or linked-to directory name.
ftype
A one-character field that indicates the entry type (see pkgmap(4)).
class
The installation class to which the file belongs (see pkgmap(4)).
package
The package associated with this entry. For ftype d (directory) more than one package can be present.
mode
The octal mode of the file (see pkgmap(4)).
owner
The owner of the file (see pkgmap(4)).
group
The group to which the file belongs (see pkgmap(4)).
major
The major device number (see pkgmap(4)).
minor
The minor device number (see pkgmap(4)).
size
The actual size of the file in bytes as reported by sum (see pkgmap(4)).
cksum
The checksum of the file contents (see pkgmap(4)).
modtime
The time of last modification (see pkgmap(4)).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
SEE ALSO patchadd(1M), pkgadd(1M), pkgadm(1M), pkgchk(1M), pkgmap(4), attributes(5)NOTES
As shown above, the interface stability of /var/sadm/install/contents is Unstable (see attributes(5)). It is common practice to use this
file in a read-only manner to determine which files belong to which packages installed on a system. While this file has been present for
many releases of the Solaris operating system, it might not be present in future releases. The fully supported way to obtain information
from the installed package database is through pkgchk(1M). It is highly recommended that you use pkgchk rather than relying on the contents
file.
SunOS 5.10 29 Jun 2004 contents(4)