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
bup-drecurse
bup-drecurse(1) General Commands Manual bup-drecurse(1)
NAME
bup-drecurse - recursively list files in your filesystem
SYNOPSIS
bup drecurse [-x] [-q] [--exclude path] [--exclude-from filename] [--profile] <path>
DESCRIPTION
bup drecurse traverses files in the filesystem in a way similar to find(1). In most cases, you should use find(1) instead.
This program is useful mainly for testing the file traversal algorithm used in bup-index(1).
Note that filenames are returned in reverse alphabetical order, as in bup-index(1). This is important because you can't generate the hash
of a parent directory until you have generated the hashes of all its children. When listing files in reverse order, the parent directory
will come after its children, making this easy.
OPTIONS
-x, --xdev, --one-file-system
don't cross filesystem boundaries.
-q, --quiet
don't print filenames as they are encountered. Useful when testing performance of the traversal algorithms.
--exclude=path
a path to exclude from the backup (can be used more than once)
--exclude-from=filename
a file that contains exclude paths (can be used more than once)
--profile
print profiling information upon completion. Useful when testing performance of the traversal algorithms.
EXAMPLE
bup drecurse -x /
SEE ALSO
bup-index(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-drecurse(1)