02-19-2002
recursive copy of hidden files
I need to know how to copy hidden files recursively?
cp -r sourceDir/* targetDir/.
ignores the hidden files.
Thank you!!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
dear all,
i want to copy all files in my home dir to another.
from my home dir i have given ls -la then
some hidden files are there with dot . .. and i also want to copy all dirs in my home as it is . because iam upgrading the system
how to copy all files and dirs in my home dir... (1 Reply)
Discussion started by: rajan_ka1
1 Replies
2. Shell Programming and Scripting
Hi. I have a script which is deleting files with a particular extension and older than 45 days.The code is:
find <path> -name "<filename_pattern>" -mtime +45 -exec rm {} \;
But the problem is that some important files are also getting deleted.To prevent this I have decide to make a dummy... (4 Replies)
Discussion started by: pochaw
4 Replies
3. Programming
I want to copy a directory recursively ( it again has directories) and the directory is on windows and is nfsmounted in vxWorks, i am using unix to develop the code for this, can any one suggest me how to copy the directories recursively. (7 Replies)
Discussion started by: deepthi.s
7 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys,
I am experiencing a problem right now while copying a directory as well as its subdirectories to my target directory. I know this is a very simple UNIX command using cp -R source directory target directory. but unfortunatley while doing this an error comes up on the command line saying... (2 Replies)
Discussion started by: Knowledge_Xfer
2 Replies
5. Shell Programming and Scripting
Hello again.
Well, I need help again sooner as I thought. Now I want to search for files with a known name within all subdirs, and copy the to differently named files in the same directory.
For example if I had only one file to copy, I would just usecp fileName newFileNamebut to do this... (1 Reply)
Discussion started by: cabaciucia
1 Replies
6. Shell Programming and Scripting
So I have extremely limited experience with shell scripting and I was hoping someone could point out a few commands I need to use in order to pull this off with a shell script like BASH or whatnot (this is on OS X).
I need to search out for filenames with account numbers in the name itself... (3 Replies)
Discussion started by: flyawaymike
3 Replies
7. HP-UX
Dear All,
I will appreciate any help received. Our system is running on hpux v1
My problem is as follows:
We have many customer folders with name fd000100, fd000101 and so on
e.g.
(Testrun)(testsqa):/>ll /TESTrun/fd000100
total 48
drwxrwx--- 2 fq000100 test 96 Jun 27 2004... (17 Replies)
Discussion started by: mhbd
17 Replies
8. AIX
Hi,
I need to find a solution for backing up/transferring BACKUP (dump file) from AIX (specifically) to Windows 2012 Hidden Share.
The vendor says that he cannot do a copy from his system to hidden share because it requires a password...
Personally, I think that there should be a solution... (9 Replies)
Discussion started by: pob579
9 Replies
9. Shell Programming and Scripting
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT DEBIAN
stg-series
STG-SERIES(1) StGit Manual STG-SERIES(1)
NAME
stg-series - Print the patch series
SYNOPSIS
stg series [options] [<patch-range>]
DESCRIPTION
Show all the patches in the series, or just those in the given range, ordered from top to bottom.
The applied patches are prefixed with a + (except the current patch, which is prefixed with a >), the unapplied patches with a -, and the
hidden patches with a !.
Empty patches are prefixed with a 0.
OPTIONS
-b BRANCH, --branch BRANCH
Use BRANCH instead of the default branch.
-a, --all
Show all patches, including the hidden ones.
-A, --applied
Show the applied patches only.
-U, --unapplied
Show the unapplied patches only.
-H, --hidden
Show the hidden patches only.
-m BRANCH, --missing BRANCH
Show patches in BRANCH missing in current.
-c, --count
Print the number of patches in the series.
-d, --description
Show a short description for each patch.
--author
Show the author name for each patch.
-e, --empty
Before the +, >, -, and ! prefixes, print a column that contains either 0 (for empty patches) or a space (for non-empty patches).
--showbranch
Append the branch name to the listed patches.
--noprefix
Do not show the patch status prefix.
-s, --short
List just the patches around the topmost patch.
STGIT
Part of the StGit suite - see linkman:stg[1]
StGit 03/13/2012 STG-SERIES(1)