10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!),
I would love some help figuring out this basic command (what I assume is basic).
I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
2. UNIX for Beginners Questions & Answers
Is there a better way to search within a list of subfolders :
# dir2, dir3, dir6, ..... dir59 exists
A_LIST="$A_START_PATH/dir1 $A_START_PATH/dir4 $A_START_PATH/dir5"
find "$A_LIST" -type f -name"*.txt"
Now searching for all files in any subdirs... (2 Replies)
Discussion started by: jcdole
3. Shell Programming and Scripting
I want to copy all the contents of a list of files in a folder to a particular file. i am using following command:
cat dir/* >> newFile.txtIt's not working.
Could you please help?
Pranav (3 Replies)
Discussion started by: Pranav Bhasker
4. Shell Programming and Scripting
Hi Unix Gurus,
I am able to copy only files that exist in the parent folder. My parent folder has sub folders and within sub folders there are lots files.
I need to copy folder, sub folders and files from Unix to the remote windows SFTP location.
The directory structure is something like... (1 Reply)
Discussion started by: shankar1dada
5. Shell Programming and Scripting
I am having following folder structure.
Inside those pop, jazz, rock folders there are following files,
p1.ul, p2.ul, p3.ul, j1.ul, j2.ul, j3.ul, r1.ul, r2.ul, r3.ul
And I have a file named as "audio.txt" in the path /root/audios,... (11 Replies)
Discussion started by: gopikrish81
6. 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.*'
drwxr-xr-x 6 flk flk 4096 2010-02-11 13:30... (2 Replies)
Discussion started by: flk
7. UNIX for Dummies Questions & Answers
How do I simply get a list of all files and folders in a directory with their asscoiated absolute path and then append it to a file? I need the path to be associated to each and every file/folder.
I have tried the usual ls command but it simply just gives a list of names per absolute... (6 Replies)
Discussion started by: cyberfrog
8. Shell Programming and Scripting
i wanna to list either file or folder.
please help me
Thanks (in advance)
:confused:Jagannath (6 Replies)
Discussion started by: jagnikam
9. UNIX for Dummies Questions & Answers
A painfully rudimentary UNIX question for somebody. I've been puzzling over this for the last hour but can't find the right command.
I'm simply trying to get a list of all files - and their full paths - within a folder & subfolders which have extension .php and .js. That's it! No amount of... (1 Reply)
Discussion started by: AtomicPenguin
10. Shell Programming and Scripting
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