10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
This is my first post, so please forgive my obvious lack of UNIX knowledge. I am trying/needing to write a script that follows this functional flow:
1. Access a config file that contains format:<directory> <filetype> <daterange>
<directory> <filetype> <daterange>
<directory>... (2 Replies)
Discussion started by: WildBeard83
2 Replies
2. UNIX for Advanced & Expert Users
Need help on moving .csv file from unix to windows file path. (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
3. Shell Programming and Scripting
Hello,
I need some help with a script. I have a file that I need to move and rename into the new directory. I am pretty new to shell scripting and have been trying to us awk with out success.
The file I will be getting is based in this format... (2 Replies)
Discussion started by: cburgoyne
2 Replies
4. Shell Programming and Scripting
Hello ALL, i hope everyone is fine here.
I have found some directories that have 777 permission with below command.
find ./ -type d -perm 0777
e/uploads/
e/uploads/s1
j/uploads/
j/uploads/s1
I want that if there is any php|html|css file found in above directory so move those... (4 Replies)
Discussion started by: learnbash
4 Replies
5. UNIX for Dummies Questions & Answers
I want to make a script that moves all files with a keyword on it to another folder. and lets me know how many files it moved with that keyword. Im a total newbie with scripting so a little help would be much appreciated. (3 Replies)
Discussion started by: marchina
3 Replies
6. Shell Programming and Scripting
Hi ,
Please help with the following questions
1) how can i find size of a file ? i have written du -k $flname > s1 . Is this right ?
Any other better suggeastions ?
2) how do I use mv command for moving the file ? I need the syntax with some examples
3) Command for printing the total... (1 Reply)
Discussion started by: Learning!
1 Replies
7. UNIX for Dummies Questions & Answers
hello all,
Need assistance on the subject line above.
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file retention is only up to 100 only..
sample
logserver001.log
logserver002.log
...
...
logserver100.log
... (2 Replies)
Discussion started by: lhareigh890
2 Replies
8. Shell Programming and Scripting
I'm trying to write a script that will look in an /exports folder for the oldest export file and move it to a /staging folder. "Oldest" in this case is actually determined by date information embedded in the file names themselves.
Also, the script should only move a file from /exports to... (6 Replies)
Discussion started by: nikosey
6 Replies
9. Shell Programming and Scripting
Dear Friends,
You can easily understand my problem after looking into the code.
test1.sh
--------
#!/bin/sh
LOG_HOME="/home/vel"
while
do
echo `date`
done
test2.sh
--------
#!/bin/sh
LOG_HOME="/home/vel"
if
then
sh $LOG_HOME/test1.sh >> $LOG_HOME/1.log (5 Replies)
Discussion started by: smvel
5 Replies
10. UNIX for Dummies Questions & Answers
i'm trying to move a file from one diectory to another and rename it at the same time. but its giving me an error .
" mv: cannot unlink /dir2/file5 : No such file or directory"
here is the command I'm using.
mv /dir1/file1 /dir2/file5
solaris 8 (1 Reply)
Discussion started by: Holistic
1 Replies