10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
Newbie to shell scripting. Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (1 Reply)
Discussion started by: robertbrown624
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum....
Can neone please help me how to copy files between two time intervals i.e. I need to copy files from 6.30 to 9.30 on 5th June 09.
Any help is appreciated. (2 Replies)
Discussion started by: Pratik4891
2 Replies
3. Shell Programming and Scripting
Hi all,
this is my first post, i need to write a script to zip the files with datewise below are the log files.
-rw------- 1 root sso 85316156 May 24 22:11 core_test_smservaz_104_104_1243217459_8896
-rw------- 1 root sso 90413304 May 25 22:12 core_test_smservaz_104_104_1243303895_20912... (4 Replies)
Discussion started by: lcschandu
4 Replies
4. Solaris
Hi all,
I am trying to execute cgi scripts on solaris, but everytime i get a internal server error...
The syntax of my .cgi script is correct as ive checked..
Steps i followed
1.started apache
2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera)
3.places my cgi scripts... (7 Replies)
Discussion started by: wrapster
7 Replies
5. Solaris
Hi ,
I wanted to know how to install XEN on solaris?
I have looked at virutal box but the latest release is not supporting many OS, and for my development work i need some sort of virtual systems.....
and older versions of virtual box dont run on my build of solaris (b83)!!!
so please help
... (3 Replies)
Discussion started by: wrapster
3 Replies
6. Ubuntu
Hi,
I have installed Ubuntu 5.04 on my second Hard Drive. My first HD contains windows.
When i make my 2nd HD as boot device, i see GRUB Menu (i.e. stage 2).
On trying to boot Ubuntu, I get an Error 15: File missing problem. The FS shown was FAT.
On trying to boot Windows, I am presented... (5 Replies)
Discussion started by: karthikb23
5 Replies
7. Shell Programming and Scripting
Hi all,
I was playing around with some scripts and spoilt solaris completely ..
So i reinstalled and thought of giving the password once i log in...
However i forgot all about it and went ahead installing all my drivers and particularly KDE 3.5.8 on my system..
But for kde to show up at the... (0 Replies)
Discussion started by: wrapster
0 Replies
8. Shell Programming and Scripting
I need to write a script that copies files from one directory to another that were created after "today 6:30". This script will be NOT be ran at the same time each day.
any help is appreciated. (2 Replies)
Discussion started by: jm6601
2 Replies
9. Shell Programming and Scripting
I an unix newbie and am confused about the working of "comm".
I have two files to be compared and the three columns of output after comparison should be stored a three separate files.
File abc
--------
pink
orange
green
blue
black
maroon
File xyz
---------
pink
yellow
grey... (3 Replies)
Discussion started by: manthasirisha
3 Replies
10. Shell Programming and Scripting
Hi ,
I am New to this group and would like to know if someone can help me on this issue :
We need to copy some files from a particular directory to another directory in the same order and time stamps .How can this be achieved .
For Ex :
./ABC/disk101/XYZ has 1000 files with varying... (2 Replies)
Discussion started by: shyam.appalla
2 Replies
DH_MOVEFILES(1) Debhelper DH_MOVEFILES(1)
NAME
dh_movefiles - move files out of debian/tmp into subpackages
SYNOPSIS
dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] file...]
DESCRIPTION
dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
up into subpackages.
Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.
FILES
debian/package.files
Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
also list directory names, and the whole directory will be moved.
OPTIONS
--sourcedir=dir
Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
be a relative filename; it cannot begin with a `/'.
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being installed.
file ...
Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.
NOTES
Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
ignored, and get deleted by dh_clean later.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
9.20120909 2012-05-19 DH_MOVEFILES(1)