You should probably use -R instead of -r. See this.
Quote:
If the -r option was specified, the behavior is implementation-defined.
In any case you are trying to copy a directory called souece in the current directory (source). If the current directory is source, then that is referenced with . (dot).
i.e.
Otherwise:
(giving the path to Ch7, based on where you currently are)
Hi all,
I wanted to know how i can copy a file to a directory and then verify if that file is completely copied or not?
Now the issues here is that the dir and the source file are to be sent as arguments to a function( this function should actually copy the files to a dir, then check if its... (0 Replies)
HI all, I got a CPIO archive that contains a unix filesystem that I try to extract, but it extract to the root dir / unstead of current dir, and happily it detects my file are newer otherwise it would have overwrited my system's file!
I tried all these commands
cpio -i --make-directories <... (2 Replies)
Dear Gurus,
I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).
Do you have any suggestion or which way should be... (9 Replies)
Hi everyone. I am trying to write a bash script that will copy files from one directory to another but I need to be able to check the directory that I'm copying the files to and see if the file already exists. If it does I need to add a number at the end of the copied file. Thanks for your help. (3 Replies)
hi,
I want to copy files from source directory based on input file (or output of previous command) and i want to have the SAME DIRECTORY STRUCTURE.
Note that i will have other files and directories which i dont want to copy to destination.
For example, dir source has following content:... (22 Replies)
Hello Comunity
I am trying to make a bash shell script that it copies files and subdirs(with files) to a new dir. I would like the dest_dir to contain only subdirectories with files not other subdirs inside.
it called : cpflatdir src_dir dest_dir
Pleaze help me!
Thank you in... (2 Replies)
Hi all,
I'm having a problem with some basic piping issues...
I have been able to get in a directory and ls | gsed in order to list every N file for instance:
ls | gsed -n '2~5p'
The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
I have a file contains 100 section (here i show 2 section of that); i want to replace date from 1st & 2nd field of 1st line of each section (1st line of each section is header and the other lines are body) and merg them into one field, then copy it on 7th field of the lines in each section... (17 Replies)
Hi Unix community,
I got this code from you guys and I tried to modify it to use for my csv dir transfer
basically i want the .csv file to copy itself and populate it to the archive dir.
#!/bin/ksh
dir1="/home/pumela/unixtestprod"
cd "$dir1"
echo "code is running"
for srcd in... (13 Replies)
I was trying to copy the files inside the path /home/user/check/Q1/dir/folder1/expected/n/a1.out1 and a1.out2 and a1.out3 to /home/user/check/Q2/dir/folder1/expected/n/
if n directory is not present at Q2/dir/folder1/expected/ then directory should be created first. And, script follow the... (5 Replies)
Discussion started by: Mannu2525
5 Replies
LEARN ABOUT DEBIAN
jh_setupenvironment
JH_SETUPENVIRONMENT(1) Javahelper JH_SETUPENVIRONMENT(1)NAME
jh_setupenvironment - Prepares a build environment to compile an eclipse feature.
SYNOPSIS
jh_setupenvironment [debhelperoptions] [--pde-build-dir=dir] [copy[...]]
DESCRIPTION
jh_setupenvironment is a javahelper program that handles creating an environment for building an eclipse feature. It does not setup an
orbit dir (use jh_generateorbitdir for that). It will copy files specified in debian/eclipse.environment as well as those given on command
line into the environment dir. If no files are given per command line and the environment file is not present (or is empty), it will
default to "org.eclipse.*"
FILES
debian/eclipse.environment
List of file- and directory glob patterns to copy into the build environment.
OPTIONS --pde-build-dir=dir
Specifies where the environment should be or is placed.
--clean
If passed, jh_setupenvironment will clean up the build environment. When cleaning jh_setupenvironment will not record itself in the
debhelper log to avoid confusing dh, when it has to use the log to trace where it was.
EXAMPLE
jh_setupenvironment org.eclipse.* debian/*.properties
Will clone all files and folders starting with "org.eclipse." and all property files in the debian-folder and put them into the
environment.
SEE ALSO debhelper(7)
This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper.
AUTHOR
Niels Thykier <niels@thykier.net>
COPYRIGHT AND LICENSE
Copyright 2010 by Niels Thykier
This tool is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
0.43 2011-02-17 JH_SETUPENVIRONMENT(1)