We have around 700 such fd000100 folders e.g. fd000101, fd000102, fd000103 and so on. Hence manual copy is not an option. I tried
Code:
cp -rp fd*/reports /Testrun
But it does not serve my purposes. In the destination path the fd000100 folders are not present. Is it possible to create these folders while copying files?
So tried:
cp -r -p test1/ user@machine:///srv/www/vhosts/domain.co.uk/httpdocs/backup/
but this didn't work either :(
Anyone able to help with this?
Many thanks
Mr M (3 Replies)
i have users home directories in /home
all the users have some files starting with character e
and i want to copy all these files in a folder in my (root) home
using a script
i tried the script
for i in m5
do
cd m5
cp e1* /home/pc/exam
cd ..
done
but get these... (3 Replies)
Hi..
I have 2 servers with linux suse10.
I made a mistake and on one of the servers changed with chmod the permission of root in directory /.
In the other servers the permissions are correct
Please i need a script, to change the permissions of one server 1, using the same permission of the... (11 Replies)
I have files existing with same names in the folders with date as display below
c:\2010-09-10 <==== folder
arr1.jpg
arr2.jpg
arr3.jpg
arr4.jpg
c:\2010-09-09 <==== folder
arr1.jpg
arr2.jpg
c:\2010-09-08 <==== folder
arr2.jpg
arr3.jpg
arr4.jpg
... (5 Replies)
Hi all
I have a bash script, that loops through a folders files and all subfolders for .shtml files.
It looks for a string and replaces it, creating a backup of the original file.
This all works great, but I'd like, when the backup is done, that the files are then also created in their... (4 Replies)
Hi,
I just started to learn shell progamming and just can't get my head around the following problem.
I need to do the following:
I have a folder which contains 100+ subfolders. Inside these subfolders there is one folder named 'Morph' and several jpg's.
I need to copy all the files into... (4 Replies)
Folks,
I am hopeful that you may be able to help me out with writing a script that can be run nightly (as cron?) to loop through all subfolders within the "/media" directory, delete all of the files in each of them, and then copy in all of the files from the "/home//sansa" directory to each of... (6 Replies)
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)
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
cobertura-report
COBERTURA-REPORT(1) General Commands Manual COBERTURA-REPORT(1)NAME
cobertura-report -- generate coverage reports
SYNOPSIS
cobertura-report [--datafile file] --destination dir [--format html|xml] [--encoding encoding] directory [--basedir dir]
DESCRIPTION
cobertura-report generates coverage reports from the source code directories and calculates the cyclomatic code complexity of each class.
The HTML reports are also made of annotated versions of each source file, showing which lines of code were excercised.
OPTIONS --datafile file
Specify the name of the file containing metadata about your classes. Default value: "./cobertura.ser".
--basedir dir
Specify a directory containing source code. All files listed after this are assumed to be underneath this directory. This should
only be used if you want to include only a few specific files underneath a source tree and exclude all other files.
--destination dir
Specify the output directory for the report.
--format xml|html
The type of report you want to generate. Default value: html.
--encoding encoding
Specify the encoding used to read the source. See javadocs for java.nio.charset.Charset for more details.
SEE ALSO junit(1), cobertura-instrument(1), cobertura-check(1), cobertura-merge(1).
AUTHOR
This manual page was written by Miguel Landaeta <miguel@miguel.cc> for the Debian system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the terms of GNU General Public License, Version 2 or any later
version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
COBERTURA-REPORT(1)