03-21-2017
Thanks Ravi,
But i would require to print messages like how i need if successfully copied or not and if the file doesnt present in input directory to print not present
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have two drives (scsi) mounted on one server and I need to copy certain files and directories from one drive to the other. Any suggestions :confused: (4 Replies)
Discussion started by: shorty
4 Replies
2. UNIX for Dummies Questions & Answers
I have a report file that is generated every day by a scheduled process.
Each day the file is written to a directory named .../blah_blah/Y07/MM-DD-YY/reportmmddyy.tab
I want to copy all of this reports to a separate directory without having to do it one by one.
However, if I try
cp... (3 Replies)
Discussion started by: ken2834
3 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I want to copy folder and sub folders only. I don't want the files. If i use cp -r command it will copy entirely with files.
Could any one suggest me.
Thanks in advance (1 Reply)
Discussion started by: karthik82
1 Replies
4. UNIX for Dummies Questions & Answers
Hello there, I'm a total noob to shell scripting. :)
What I want to do is compare the contents of Folder A and Folder B, and copy any files in Folder A that do not exist in Folder B over to Folder B.
I have gotten so far as:
diff -rq folderA folderB
which returns the names of the files,... (3 Replies)
Discussion started by: raaaaaa
3 Replies
5. UNIX for Dummies Questions & Answers
how can i copy those files into other directories have the same name but different in the end
i have files in directory called test:
10_10_asdadfsdfad.txt
10_10_11_asdawqefwkjasd.txt
10_10_11_12_asdafjjhoqwd.txt
i want to put them in exist directory thart i have on my system
i have... (1 Reply)
Discussion started by: t17
1 Replies
6. Shell Programming and Scripting
Hi to all,
I have the short print out sample of the DOS command "dir S/" as showed below.
Directory of C:\Program Files\Winamp\Skins\Bento\window
02/12/2010 11:35 p.m. <DIR> .
02/12/2010 11:35 p.m. <DIR> ..
11/12/2009 10:31 a.m. 13,556... (3 Replies)
Discussion started by: cgkmal
3 Replies
7. Shell Programming and Scripting
Hey guys,
I need to know how to locate all .htaccess files on the server and make a backup of them in the folder they reside before I run a script to modify all of them.
So basically taking dir1/.htaccess and copying it as dir1/.htaccess_bk
dir2/.htaccess copying as dir2/.htaccess_bk... (5 Replies)
Discussion started by: boxx
5 Replies
8. Shell Programming and Scripting
I am in a situation where I have some hundreds of thousands of files in a directory (name of directory: big_directory). Now, working on this directory is extremely slow.
I now plan to do this:
Copy 1000 files in each of the directories by creating the directories automatically. All files have... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
9. Shell Programming and Scripting
Hi,
I have several files containing experiment measurements per hour (hour_1.txt has measurements for first hour, etc..etc..). I have 720 of these files (i.e. up to hour_720.txt) and i want to create 720 directories and in every one of them i want to copy its associative file (e.g.... (4 Replies)
Discussion started by: amarn
4 Replies
10. 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
LEARN ABOUT PLAN9
dh_bugfiles
DH_BUGFILES(1) Debhelper DH_BUGFILES(1)
NAME
dh_bugfiles - install bug reporting customization files into package build directories
SYNOPSIS
dh_bugfiles [-A] [debhelperoptions]
DESCRIPTION
dh_bugfiles is a debhelper program that is responsible for installing bug reporting customization files (bug scripts and/or bug control
files and/or presubj files) into package build directories.
FILES
debian/package.bug-script
This is the script to be run by the bug reporting program for generating a bug report template. This file is installed as
usr/share/bug/package in the package build directory if no other types of bug reporting customization files are going to be installed
for the package in question. Otherwise, this file is installed as usr/share/bug/package/script. Finally, the installed script is given
execute permissions.
debian/package.bug-control
It is the bug control file containing some directions for the bug reporting tool. This file is installed as
usr/share/bug/package/control in the package build directory.
debian/package.bug-presubj
The contents of this file are displayed to the user by the bug reporting tool before allowing the user to write a bug report on the
package to the Debian Bug Tracking System. This file is installed as usr/share/bug/package/presubj in the package build directory.
OPTIONS
-A, --all
Install debian/bug-* files to ALL packages acted on when respective debian/package.bug-* files do not exist. Normally, debian/bug-*
will be installed to the first package only.
SEE ALSO
/usr/share/doc/reportbug/README.developers.gz
debhelper(1)
This program is a part of debhelper.
AUTHOR
Modestas Vainius <modestas@vainius.eu>
11.1.6ubuntu2 2018-05-10 DH_BUGFILES(1)