10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been trying to retrieve the names of files present in a directory one by one but the names of files are getting overlapped on one another.
I tried the below command.
ls -1 > filename
please help me in getting the file names line by line without overlapping. I am using korn... (6 Replies)
Discussion started by: Pradhikshan
2. Shell Programming and Scripting
I have multiple csv files with the names
All the files have the same structure inside just values change.
I am trying to retrieve data from those files by fixing at each time one or more VAR.
I tried to write a script but I have 2 problems:
2-... (1 Reply)
Discussion started by: Jhon.c
3. Shell Programming and Scripting
I'm new to Unix shell scripting .
I've the following requirement
A folder contains the list of files with the following format
I have to rename the above file to like below
... (6 Replies)
Discussion started by: smile689
4. UNIX for Dummies Questions & Answers
I would like to list all files, older than 7 days, in a directory, but exclude all subdirectories in the find command. If I use find . -type f -mtime +7 all files in the subdirs are also included. How can I exclude them?
JW (6 Replies)
Discussion started by: jwbijl
5. Emergency UNIX and Linux Support
du -hs command calculates the space for all the subdirs under a dir ...but it is very slow if the dir is huge....is there any quick way ...I am using Sun OS.
Ajay (19 Replies)
Discussion started by: ajaypatil_am
6. Shell Programming and Scripting
I am trying to make a bash shell script that it copies files and subdirs(with files) to a new dir. I would like the dest_dir to contain only subdirectories with files not other subdirs inside.
it called : cpflatdir src_dir dest_dir
Pleaze help me!
Thank you in... (2 Replies)
Discussion started by: BTKBaaMMM
7. Shell Programming and Scripting
i have a directory and sub directory`s inside.
i want to take all the files name and add them into array.
for example :
Debug script.c src typescript
Array = Debug
Array = src
Array = typescript.
Thanks for the help.
Or. (2 Replies)
Discussion started by: orushw
8. Shell Programming and Scripting
I have one dir which has N subdirs.For ex:
i want to create a folder with... (2 Replies)
Discussion started by: dragon.1431
9. UNIX for Dummies Questions & Answers
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
10. UNIX for Dummies Questions & Answers
I've had a daemon go a little bit mental and create directories using somments from a config file. The end result is I've ended up with directories with names such as #, 5625), (5725 etc etc etc...
However, when I try and delete them I get syntax errors, ( not expected,
rmdir #... (2 Replies)
Discussion started by: JWilliams