10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have noticed that the following command works
touch subtext_geopdf_to_.x
However this one does not
touch subtext_/geopdf/_to_/.x
How can I create such a file without making it think I supplied a path? (2 Replies)
Discussion started by: kristinu
2 Replies
2. UNIX for Dummies Questions & Answers
Afternoon,
the stat command is used against a file to ascertain date created and last modification time. However a different individual if they so chose could use the touch command to alter the date created or modification time.
Is there anyway to protect against this ?
thanks
Steve (2 Replies)
Discussion started by: sevans29
2 Replies
3. Shell Programming and Scripting
Dear Experts,
I have script to find aging file like this:
find /ArchiveINTF/INTF name "*" -type f -mtime +365 {} \; >> agingfile.txt
This script will find all files over 365 days.
But, I have problem, how to auto FTP all files?
Thanks
Edy (3 Replies)
Discussion started by: edydsuranta
3 Replies
4. Shell Programming and Scripting
Hi Experts,
Kindly share scripts to find aging file and ftp to another server..
Example:
Find files more than 5 days and ftp to another server.
Please give suggestion :)
Thanks
Edy (1 Reply)
Discussion started by: edydsuranta
1 Replies
5. Shell Programming and Scripting
All, I am looking to make a script and wanted to see if anyone could help out.
The script will go through the directory, put a timestamp, transfer it and then create a touch $file.done script
HEre is my initial idea, but I don't think it will work properly. Anyone able to help me refine it... (11 Replies)
Discussion started by: markdjones82
11 Replies
6. Shell Programming and Scripting
I am interested in creating a new file from a KSH script where the first line is printed. I know how to create the file, but creating with a pre-defined first line is what I need help with.
My code below creates the file, but how do I accomplish that and do it so that when I open that txt file... (5 Replies)
Discussion started by: royarellano
5 Replies
7. UNIX for Dummies Questions & Answers
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
Discussion started by: glev2005
5 Replies
8. UNIX for Dummies Questions & Answers
hi experts
this is regarding password aging
i tried searching forum but i cudnt locate
given a login id,
i would like to determine whether password ageing has been enabled for that
and
for the login id whether password has been expired on a particular point of time
Thanks (4 Replies)
Discussion started by: teletype_error
4 Replies
9. UNIX for Dummies Questions & Answers
If the command passwd -f is used, Users get the below error. I need to force users to change there passwords at initial login. Anyone know what is going on? This is on a Non-Stop UX system
UX:in.login: ERROR: Your password has been expired for too long
UX:in.login: TO FIX: Consult your system... (0 Replies)
Discussion started by: breigner
0 Replies
10. UNIX for Advanced & Expert Users
Vesion 3.8.1 of OpenSSH has been compiled on a Solaris 8 host. I am having difficulties in enabling password aging to work from reading /etc/default/passwd and /etc/shadow.
# passwd -f < user-id > works satisfactorily however once a password ages through due course from the settings in... (1 Reply)
Discussion started by: raylen
1 Replies