![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do I view a jpeg? | dsstamps | UNIX for Dummies Questions & Answers | 0 | 05-14-2008 10:25 AM |
| Jpeg viewer on SunOS 5.8 | wisher115 | UNIX for Advanced & Expert Users | 4 | 02-15-2008 06:42 PM |
| remove files other than selected | freakygs | Shell Programming and Scripting | 22 | 11-28-2007 04:54 AM |
| flags to suppress column output, # of rows selected in db2 sql in UNIX | jerardfjay | Shell Programming and Scripting | 1 | 11-02-2005 02:48 AM |
| Convert Jpeg to useable Unix Pics | HSTheDuck | UNIX for Dummies Questions & Answers | 1 | 06-15-2005 01:31 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
ftp selected jpeg files from unix filesystem
Hi All
We have hp-ux 11iv1 system running with oracle8i database. We have around 350,000 users, each user uploaded their own signatures and are stored in unix filesystems department wise. A database is maintained to keep their particulars with a path to link their signature files. Now many users quit or replaced thus their account became inactive. New users added with new signatures. But old signatures are remaining in filesystems which are eating up lot of our precious disk spaces. I am trying to write a ftp program which will first check database for the users status, if found inactive then ftp the corresponding signature files in the specified location. Note that signature file names and user account number are identical. I only managed to identify the signatures of the inactive users using a shell script but dont have any experience how to identify the inactive users and ftp their signatures from different folders in one go. Thanks in advance for any help. |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
(a) identifying the inactive users (b) identifiying their signature files (c) ftp'ing the files (d) presumably deleting the originals? |
|
|||
|
How to identify the inactive users using ftp cmd? Is there any way i can write SQL cmd in ftp cmd? I know shell script can do that.
|