rm question



Not "100%" sure on this.

Want to add a cron to delete all files with .SQL extension in a certain
directory etc/backup

Is this correct ?

/bin/rm -fr /etc/backup/*

?

Dont have command access this is a cron on cPanel on a web server.

Thanks

.



Relevant Pages

  • Re: rm question
    ... Want to add a cron to delete all files with .SQL extension in a certain ... Dont have command access this is a cron on cPanel on a web server. ... and all subdirectories and delete them. ...
    (alt.os.linux)
  • Re: rm question
    ... Want to add a cron to delete all files with .SQL extension in a ... certain directory etc/backup ... Microsoft optical mouse found penguin patterns ...
    (alt.os.linux)
  • Re: rm question
    ... Want to add a cron to delete all files with .SQL extension in a certain ... any directories beneath it. ...
    (alt.os.linux)
  • Re: rm question
    ... William Witt wrote: ... Want to add a cron to delete all files with .SQL extension in a certain ...
    (alt.os.linux)
  • Re: rm question
    ... Want to add a cron to delete all files with .SQL extension in a certain ... If you want to get rid of all .SQL files, ...
    (alt.os.linux)