10-15-2008
What shell you are using (exact version, if possible)?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to find the largest files in a directory & it's subdirectories.
I'm not sure what options on ls -l will work to give me this. or is there another way to do this?
Thanks,
igidttam (6 Replies)
Discussion started by: igidttam
6 Replies
2. Shell Programming and Scripting
Hi,
I have a very big directory structure that consists of many sub-directories inside.There are around 50 ".gz" files under this dir structure.
I want to copy all the gz files alone to a seperate location.
Plz help me. (2 Replies)
Discussion started by: villain41
2 Replies
3. Shell Programming and Scripting
Dear all,
I have a dir structure like
main_dir
At_nn Ag_js Nf_hc ....
mcd32 mgd43... mcd32 mgd43... mcd32 mgd43...
and each subdir (e.g. mcd32, mgd43) contains files.
Now, i... (15 Replies)
Discussion started by: yogeshkumkar
15 Replies
4. Shell Programming and Scripting
How to list all Subdirectories and files with its full path in a parent directory? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. Linux
Hi, ALL
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Best regard
MEROUAN
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies
6. Shell Programming and Scripting
I need to write a script to :
list files with *.i extension in a directory and all its subdirectories + 30days old, save it in a file and then remove (2 Replies)
Discussion started by: lena keung
2 Replies
7. UNIX for Advanced & Expert Users
Hello,
I wanted to
list all files in subdirectories which are modifiled recently. need to display all files with full details like hpw it display with ls -l ( date, size,..)
Thanks
Bala (3 Replies)
Discussion started by: balareddy
3 Replies
8. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
9. UNIX for Dummies Questions & Answers
Hi, I'm currently trying to print the names of all the .txt files in the subdirectories that contain the string I'm searching.
I tried with this code, but it seems that it searches for the names that matches the string instead of searching for the string in the individual files and printing the... (2 Replies)
Discussion started by: nuclearpenguin
2 Replies
10. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
LEARN ABOUT DEBIAN
dh_autoreconf
DH_AUTORECONF(1) dh-autoreconf DH_AUTORECONF(1)
NAME
dh_autoreconf - Call autoreconf -f -i and keep track of the changed files.
SYNOPSIS
dh_autoreconf [debhelper options] [-Xitem] [--mode=mode] [program -- params]
DESCRIPTION
dh_autoreconf is responsible for calling autoreconf and creating the files debian/autoreconf.before and debian/autoreconf.after which
contain checksums of all files before/after the build. It is complemented by dh_autoreconf_clean which creates a list of all changed and
added files and removes them.
Please note that dh_autoreconf can only be run once. Thus, if you need to run multiple commands, use a script or similar. An example is
given in dh-autoreconf(7).
FILES
debian/autoreconf
This file can contain a list of directories. If present, dh_autoreconf will only scan the given directories for changes. If no special
command is given to dh_autoreconf, it will also forward the directory list to autoreconf which causes it to be run only on those sub
directories.
OPTIONS
-Xitem --exclude=item
Exclude files that contain "item" anywhere in their filename from being checked for changes. This means that those files won't be
deleted by "dh_autoreconf_clean" even if there are changes. You may use this option multiple times to build up a list of things to
exclude.
Starting with version 3, the directories of common version control systems such as cvs, git, hg, svn, and bzr are excluded
automatically.
--mode=mode
Change the way in which modifications to files are detected. The default mode is md5 for using MD5 checksums, but there is also
timesize for using the time of the last modification and the file size.
--as-needed
Enable support for -Wl,--as-needed in all ltmain.sh files identical to the one of the libtool package. This only works in the MD5 mode
(the default one). The changes are reverted in dh_autoreconf_clean. You should not prevent LIBTOOLIZE from running with this, as it
only works correctly with libtoolize running.
program -- params
Run the program given by program with the arguments given by params instead of autoreconf -f -i. If you need to run multiple commands,
put them in a script and pass the script instead (or add a target to debian/rules).
ENVIRONMENT
For each tool executed by autoreconf(1), one can export a variable with the uppercase name of the tool to the specific program which shall
be run, including true to prevent the tool in question from being run. The following example shows the beginning of a debian/rules for a
package where automake 1.10 shall be run instead of the default automake version and libtoolize shall not be run:
#!/usr/bin/make -f
export AUTOMAKE = automake1.10
export LIBTOOLIZE = true
SEE ALSO
debhelper(7), dh_autoreconf_clean(1), dh-autoreconf(7)
AUTHOR
Julian Andres Klode <jak@debian.org>
dh-autoreconf v7 2012-11-22 DH_AUTORECONF(1)