03-05-2012
In addition to owner and group name, will each user retain their original numeric UID and GID - or are they different on the new computer?
What software do you have available to copy the files?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I'm a rookie using HPUX and I know this is going to sound like a bonehead question, but when I list the contents of a directory, how can I determine which objects are files and which are folders? I'm using the ll and ls commands to lists the contents. So far I've been determining the... (6 Replies)
Discussion started by: dgower2
6 Replies
2. Shell Programming and Scripting
Dear all,
I want to remove files older than 2 months in the /home/member directory. But except the configuration files (like .bash_profile .config/ .openoffice/ .local/ .kde/ etc..)
I have tried with the command
find . -mtime +60 -wholename './.*' -prune -o -print -exec mv {} \;
but it... (1 Reply)
Discussion started by: jamcalicut
1 Replies
3. HP-UX
Hi,
I had a directory and many subdirectories and files with in it.
Now i want to get the timestamp of files from the files and folders recursively. :(
Please help me to generate a script fort he above mentioned requirement!
Appreciate for ur qick response
Thanks in advance!
... (2 Replies)
Discussion started by: kishan
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
How can I move just the folders that contains files modified n days ago?
Source tree:
|-- SourceFolder
| |-- Subfolder1
| | |-- file1.dat
| | `-- file2.dat
| |-- Subfolder2
| | |-- filea.dat
| | `-- fileb.dat
Destination tree:
|-- ... (3 Replies)
Discussion started by: xavix
3 Replies
5. Shell Programming and Scripting
Hi Friends,
Below is my requirement and i am not clear how to approach this issue in unix programming.
I have a folder with 2500 files. The files are in below format.
1234_name1.txt
1234_name123.txt
4567_name1.txt
4567_name123.txt
and i need a program which will read each file from this... (5 Replies)
Discussion started by: diva_thilak
5 Replies
6. Shell Programming and Scripting
Hi, all:
I've got two folders, say, "folder1" and "folder2".
Under each, there are thousands of files.
It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command.
However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies
7. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
8. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
9. Shell Programming and Scripting
I have two folders:
FOLDER1
file_101_1010.txt
file_102_1007.txt
file_103_1003.txt
file_104_1007.txt
file_105_1011.txt
file_106_1006.txt
file_108_1007.txt
file_109_1002.txt
file_110_1006.txt
file_111_1008.txt
file_112_1011.txt
file_113_1012.txt
file_114_1001.txt
file_115_1009.txt... (5 Replies)
Discussion started by: alex2005
5 Replies
10. Shell Programming and Scripting
Hi,
So i know we use cp -r as a basic to copy folders/files.
I would like this BUT i would like to show the output of the files being copied.
With the amazing knowledge i have i have gone as far as this:
1) find source/* -exec cp -r {} target/ \;
2) for ObjectToBeCopied in `find... (6 Replies)
Discussion started by: Imre
6 Replies
LEARN ABOUT DEBIAN
pmkinstall
PMKINSTALL(1) BSD General Commands Manual PMKINSTALL(1)
NAME
pmkinstall -- install binaries and data
SYNOPSIS
pmkinstall [-bcs] [-B suffix] [-g group] [-m mode] [-o owner] file1 file2
pmkinstall [-bcs] [-B suffix] [-g group] [-m mode] [-o owner] file1 ... fileN directory
pmkinstall -d [-g group] [-m mode] [-o owner] directory ...
pmkinstall -v
pmkinstall -h
DESCRIPTION
The file(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into directory with its
original filename. If the -b option is given and the target file already exists, it is renamed to the original name folloeb by the backup
suffix. The default suffix is ".old" but can be overriden with the -B option.
The options are as follows:
-B suffix
Orverride backup suffix
-b Backup any existing files before overwriting.
-c Copy the file. This is actually the default. The -c option is only included for backwards compatibility.
-d Create directories. Missing parent directories are created as required.
-g group
Specify a group. A numeric GID is allowed.
-h Display usage.
-m mode
Specify an alternate mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic
value; see chmod(1) for a description of possible mode values.
-o owner
Specify an owner. A numeric UID is allowed.
-s pmkinstall exec's the command of environment variable STRIP to strip binaries so that install can be portable over a large number of
systems and binary types. If the environment variable STRIP is not set, the action is skipped.
-h Display version.
The pmkinstall utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT
STRIP Set which strip(1) program to run.
SEE ALSO
pmk(1), pmkscan(1), pmksetup(8)
AUTHOR
Damien Couderc.
BSD
June 6, 1993 BSD