The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

SLQotD by Control2005-03-08 01:00:14
  Question by reshurc2005-03-08 01:05:07
    here's something I made just now... by reshurc 2005-03-08 01:15:25
...you might need to add some specific stuff, like paths and such. Put the script in /sbin or something.

#! /bin/sh

#Checking for available files
if [ -f "*.ptl" ]
mkdir /tmp/pt-files
mv *.ptl /tmp/pt-files #...and moving ptl-files
fi
if [ -f "*.ptc" ]
mv *.ptc /tmp/pt-files #...and moving ptc-files
fi
rm -rf * #removing the rest.

exit 0
[ Reply ]
      That's about what I'm doing now by Control2005-03-08 01:19:07
        Give me a few paths, and I'll by reshurc2005-03-08 01:21:05
          No need by Control2005-03-08 01:36:14

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)