10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The below bash is trying to list the folders in a specific directory. It seems close but adds the path to the filename, which basename could strip off I think, but not sure why it writes the text file created? This list of folders in the directory will be used later, but needs to only be the... (5 Replies)
Discussion started by: cmccabe
5 Replies
2. Shell Programming and Scripting
Hi,
So i know we use cp -r as a basic to copy folders/files.
I would like this BUT i would like to show the output of the files being copied.
With the amazing knowledge i have i have gone as far as this:
1) find source/* -exec cp -r {} target/ \;
2) for ObjectToBeCopied in `find... (6 Replies)
Discussion started by: Imre
6 Replies
3. Shell Programming and Scripting
Hi,
I need a script/command to list out all the files in current path and also the files in folder and subfolders.
Ex: My files are like below
$ ls -lrt
total 8
-rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml
drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST
$
Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies
4. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
5. Shell Programming and Scripting
I am trying to get a list of folders contained in a given directory and would then like to delete any folders/files older than 60mins.
So far I am able to get the list of folders using:
ls -l /home/uploads | grep '^d.*'
the output:
drwxr-xr-x 6 flk flk 4096 2010-02-11 13:30... (2 Replies)
Discussion started by: flk
2 Replies
6. Shell Programming and Scripting
Hi all,
I amd new in UNIX programming. I have a query.
I need to delete some files (like .dec files) from some folders. I have a list of folders. What will be command for it.
Please help me.
Thanks in Advance. (3 Replies)
Discussion started by: eclairs
3 Replies
7. Shell Programming and Scripting
Hello Unix Gurus,
Help required from you.
My requirement is something like this
I want to create a concurrenct program in Oracle Applications using shell script to transfer files from Apps Server to destination FTP server.
I have created custom program, where I will extract all the... (4 Replies)
Discussion started by: amazon
4 Replies
8. Shell Programming and Scripting
Hi experts,
i wanna to list either file or folder.
please help me
Thanks (in advance)
:confused:Jagannath (6 Replies)
Discussion started by: jagnikam
6 Replies
9. Shell Programming and Scripting
Hello people,
I want to list the files & folders created/modified since a particular date say June 2006. I know I can list recursively thru the folders and use awk to extract the date column to get the desired output.
Just wanted to check whether there is an easier way to do this. Please... (2 Replies)
Discussion started by: tipsy
2 Replies
10. Shell Programming and Scripting
Hii...
I want to list folders (no files and no symbolic links)..
But my
is giving me error..
please help...
Esham (7 Replies)
Discussion started by: esham
7 Replies