how to delete backup files via ssh?

Discussion in 'Web Hosting' started by nonin, Nov 13, 2016.

  1. nonin

    nonin Power Member

    Joined:
    Apr 26, 2010
    Messages:
    732
    Likes Received:
    501
    Gender:
    Male
    Location:
    I connect dots..
    Home Page:
    Hi, my server is full, and I have found that backups eat most of the space. Have to admit that ssh is total gibberish to me - and it took a while (with help of Google) to get this far.

    [​IMG]

    how do I empty/delete them via ssh? what is the safe way?

    need help and clean, direct instructions.. thank you.
     
  2. nonin

    nonin Power Member

    Joined:
    Apr 26, 2010
    Messages:
    732
    Likes Received:
    501
    Gender:
    Male
    Location:
    I connect dots..
    Home Page:
  3. crackertje

    crackertje Newbie

    Joined:
    Sep 22, 2016
    Messages:
    30
    Likes Received:
    8
    I'm not a big linux guy either, but have you tried going to the directory and just removing the folders/files?
    To go to a directory use the "cd" command, and to remove files use "rm {file-name}", and for folders use "rmdir {directory-name}"
     
    • Thanks Thanks x 1
  4. fanatik1389

    fanatik1389 Regular Member

    Joined:
    Apr 7, 2014
    Messages:
    307
    Likes Received:
    117
    Add -f if you want to skip confirmation part. Example: rm -f file_name
     
    • Thanks Thanks x 1