10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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.
After running the script
file3:... (4 Replies)
Discussion started by: Ravi Kishore
2. 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
3. Shell Programming and Scripting
for file in ./**
if (4 Replies)
Discussion started by: TheGreatGizmo
4. UNIX for Advanced & Expert Users
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,..)
Bala (3 Replies)
Discussion started by: balareddy
5. 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
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 ;
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
7. 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
8. Shell Programming and Scripting
I have a dir structure like
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
9. Shell Programming and Scripting
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
10. 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?
igidttam (6 Replies)
Discussion started by: igidttam