Re: Renaming files by counting the number of files

From: FyRE (FyRE_at_toktik.d.co.uk.invalid)
Date: 09/11/04


Date: Sat, 11 Sep 2004 00:12:26 +0100

On 10 Sep 2004 08:54:35 -0700, "Tony Lawrence" <pcunix@gmail.com>
wrote:

[...]

>> >> Easier in bash or ksh and a whole bunch easier in Perl.
>> >
>> >Okay....I can do it in Perl...show me how please? ughhhh
>>
>> This would suggest you can't actually do it in Perl... For god's sake
>> man, put some bloody effort in and expand your skill set a little...
>
>
>
>Oh, don't be so mean.
>
>Yes, he really should expand his skills. He can start at
>http://aplawrence.com/Unixart/loveperl.html
>
>But sometimes people just want to get things done NOW. I think the
>suggestion to add hour and minute (even seconds if necessary) is
>reasonable, but it may not be for him.

Yeah, or easier still would be a set of directories, numbered 0-23,
that the files could be moved into after the run (0-23 obviously being
the run hour). That way, if he were looking for the tar created at
17:00 on 01/02/03, it's pretty simple to find.

>He should be able to use the sh script suggestions I offered, but maybe
>he doesn't understand that either - in that case, you are right, he's
>way over his head and needs to pay somebody to do this for him.

There's too much of this "spoon-feed me" mentality. Fair enough, I
don't mind helping someone who's made an attempt to do somthing, then
asks for help with a problem, but coming into a usenet group (or any
other fora) and asking someone to write the script/code for them is
just plain idle.

Bit of a pet niggle of mine, since a new policy at my current
workplace requires me to document all kinds of processes I go through
to create a guide for others. Since the manager (and others) are
point'n'click monkeys, the documentation goes along the lines of "use
PuTTY, with username x, password y to log in. Type cd blah/blah, type
ls -ltr, then...". This is due to the fact the manager doesn't want to
actually learn anything new, just parrot what's written down. If I
change anything, it's a whole new load of docs. I did question why the
docs should be "idiot proof", since it's generally not a good idea to
let an idiot run around as root on a commercial UNIX system (and yes,
we have had incidents, like somebody changing to the root dir by
mistake (again, parroting my notes - and mistyping), then typing chmod
700 *, which basically knocked 200 people off the system during a busy
afternoon. Then the manager editing scripts (to change some comments
to his liking for some reason) with MS Word, using Samba, which again
went unnoticed until we realised that no orders had been allocated
stock all afternoon. It also seems that if someone neglects to
document any possible error or problem that could occur with any
system (in idiot style), it's neglegent...

</rant>



Relevant Pages

  • Re: Interview
    ... with weak political skills is to identify a very competent manager, ... little political skill, but enough technical skill may lead to the ... manager also working the politics, with the same objective and a lot ... And the company will often be willing to pay some small amount to appease such a manager rather than pay the larger amount the parachute is worth to get rid of him and replace him with someone competent. ...
    (comp.lang.java.programmer)
  • Re: PNAS: Americas Future Workfarce, I mean Workforce
    ... the capacity for change in the foundations of human skill ... Manager is actually a service job. ... English-speaking western countries assume they are the superior beings ... of material prosperity they have created by present time. ...
    (sci.research.careers)
  • Re: PNAS: Americas Future Workfarce, I mean Workforce
    ... brain maturation are hierarchical processes in which higher level ... the capacity for change in the foundations of human skill ... Manager is actually a service job. ... of material prosperity they have created by present time. ...
    (sci.research.careers)
  • Re: OOP - a question about database access
    ... BB.3> the equivalent of adding the wiring feature. ... then your manager is doing exactly what ... BB.5> And I got to decide whether the analogy is apt. ... BB.3> skill to break the plumbing feature into necessary tasks. ...
    (comp.object)
  • Re: Cant bring up Task manager
    ... Expand To: ... Look in the right side pane. ... Check if you can open Task Manager now or Restart your computer once. ...
    (microsoft.public.windowsxp.general)