Re: Deleting files remotely



NewbeeUnix wrote (upside down):

Write a shell script will telnet to remote machine and go the requisite
directory and delete all the files.
execute the shell script using system function in perl.

But since this is a Perl group why not write a Perl script will telnet
to remote machine and go the requisite directory and delete all the
files.

.



Relevant Pages

  • Re: file rename help
    ... Why, BTW? ... a shell script is a shell script and a Perl program is... ... what if $cfile was empty and hence moved to "$cfile.zero.txt"?!? ...
    (comp.lang.perl.misc)
  • Re: Scripting question, [small programming question
    ... at "rpm -ql util-linux". ... > comprehensive language like perl. ... I think a good rule of thumb is that if your shell script doesn't fit on a ...
    (Fedora)
  • [OT] Re: simple question on C++
    ... Jerry Stuart wrote: ... >> have something like this working today, I'd probably use Perl. ... I am familiar with Linux and would ... Well, on a typical Solaris system a shell script would do, and no reboot ...
    (alt.comp.lang.learn.c-cpp)
  • [PATCH 2/3]: Remove perl from make headers_install
    ... Remove perl from make headers_install by replacing a perl script (doing ... a simple regex search and replace) with a smaller and faster shell script ... -# installdir: ...
    (Linux-Kernel)
  • RE: Run Shell Script Using Perl
    ... Run Shell Script Using Perl ... You need to rewrite a shell script that does file transfer in Perl? ... would work -- ftp, scp, rsync, cp over NFS mount (or SMB mount, or DAV ...
    (perl.beginners)