03-04-2013
Now it would try to attempt to
cat dir/newFile.txt as well..
I guess this would be solved if you are having that newFile.txt in some other directory
This User Gave Thanks to PikK45 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to make a new dir in side the dir lab5 the new dir is called testLab5
without changing directories copy all files from your lab5 directory into your testLab5 directory
then i have to
without chaning directories and using exactly one command remove all files that start with the... (1 Reply)
Discussion started by: robsk8_99
1 Replies
2. Shell Programming and Scripting
Hi All,
I need to create a file which contains the list of all the files present in that directory.
e.g.,
ls /export/home/user/*.dat > list_file.dat
but what i am getting is:
$ ls /export/home/user/*.dat > list_file.dat
/export/home/user/*.dat: No such file or directory
But I have... (1 Reply)
Discussion started by: pranavagarwal
1 Replies
3. UNIX and Linux Applications
I am trying to copy a folder and all its contents from HP Unix box to RH linux, using the following.
rsync -avz -e "ssh" /users/www/webroot/docFiles/Division/Ctry ftpuser@10.4.xxx.yz:/data/webroot/development/contentfiles/webroot/docFiles/Division/Ctry/QAfiles
And it throws a consistent... (2 Replies)
Discussion started by: FanTom
2 Replies
4. Shell Programming and Scripting
I am having following folder structure.
/root/audios/pop
/root/audios/jazz
/root/audios/rock
Inside those pop, jazz, rock folders there are following files,
p1.ul, p2.ul, p3.ul, j1.ul, j2.ul, j3.ul, r1.ul, r2.ul, r3.ul
And I have a file named as "audio.txt" in the path /root/audios,... (11 Replies)
Discussion started by: gopikrish81
11 Replies
5. UNIX for Dummies Questions & Answers
Hi all...
Below is what I am trying to do:
1. Having the following folder with the files...
/source_folder/dodiddone.tar.gz
/source_folder/gowentgone.tar.gz
/source_folder/gowentgone.log
2. I need to copy and chown files with extension .tar.gz to another folder
copy... (1 Reply)
Discussion started by: pedroz
1 Replies
6. UNIX for Dummies Questions & Answers
I need to replace all filesnames in a folder as well as its content from AK6 to AK11. Eg Folder has files AK6-Create.xml, AK6-system.py etc.. the files names as well as contents should be changes to AK9-Create.xml, AK9-system.py etc
All files are xml and python scripts.
---------- Post... (0 Replies)
Discussion started by: Candid247
0 Replies
7. Shell Programming and Scripting
Hi experts,
I am coming to you with this basic question on copying a folder and its content from one location to another folder using PERL script.
This is my requirement.
I have a folder AB under /users/myhome
I want to copy AB and its contents to /user/workspace.
Finally it should... (1 Reply)
Discussion started by: amvarma77
1 Replies
8. Shell Programming and Scripting
Hi
i need Script to copy the contents of two files into one file
i have 2 fil X1.txt / X2.txt i need script to copy the contents of X1 and X2 In AllXfile
X1.txt
File X1
X2.txt
File X2
AllXfile.txt
File X1
File X2 (2 Replies)
Discussion started by: azzeddine2005
2 Replies
9. Shell Programming and Scripting
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
Discussion started by: vivek d r
2 Replies
10. UNIX for Dummies Questions & Answers
I'm unable to list the contents of a directory once I move into it. I have full permissions on this directory (called "Scripts" in the below example). The scenario is shown below in detail:
Command 'ls' works fine to begin with:
1: pmn@linuxhost /home/pmn > cd /opt/smt/proiv
2:... (4 Replies)
Discussion started by: pmn
4 Replies
LEARN ABOUT DEBIAN
py2dsc
PY2DSC(1) User Commands PY2DSC(1)
NAME
py2dsc - creates Debian source package from Python package
DESCRIPTION
usage: py2dsc [options] distfile
or: py2dsc --help
where distfile is a .zip or .tar.gz file built with the sdist command of distutils.
OPTIONS
--dist-dir (-d)
directory to put final built distributions in (default='deb_dist')
--patch-already-applied (-a)
patch was already applied (used when py2dsc calls sdist_dsc)
--default-distribution
deprecated (see --suite)
--suite (-z)
distribution name to use if not specified in .cfg (default='unstable')
--default-maintainer
deprecated (see --maintainer)
--maintainer (-m)
maintainer name and email to use if not specified in .cfg (default from setup.py)
--extra-cfg-file (-x)
additional .cfg file (in addition to stdeb.cfg if present)
--patch-file (-p)
patch file applied before setup.py called (incompatible with file specified in .cfg)
--patch-level (-l)
patch file applied before setup.py called (incompatible with file specified in .cfg)
--patch-posix (-q)
apply the patch with --posix mode
--remove-expanded-source-dir (-r)
remove the expanded source directory
--ignore-install-requires (-i)
ignore the requirements from requires.txt in the egg-info directory
--pycentral-backwards-compatibility
This option has no effect, is here for backwards compatibility, and may be removed someday.
--workaround-548392
This option has no effect, is here for backwards compatibility, and may be removed someday.
--force-buildsystem
If True, pass '-- buildsystem=python_distutils' to dh sequencer
--no-backwards-compatibility
This option has no effect, is here for backwards compatibility, and may be removed someday.
--guess-conflicts-provides-replaces
If True, attempt to guess Conflicts/Provides/Replaces in debian/control based on apt-cache output. (Default=False).
py2dsc 0.6.0+20100620 May 2011 PY2DSC(1)