Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 92315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:10:04+00:00 2026-05-10T23:10:04+00:00

I run an OpenSuse server that uploads zipped source code backups to a Microsoft

  • 0

I run an OpenSuse server that uploads zipped source code backups to a Microsoft FTP server every night. I have written a Bash script that does this through a cron job.

I want to delete backed up files that are older than a certain date. How could I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:10:04+00:00Added an answer on May 10, 2026 at 11:10 pm

    You can delete files on the FTP server using the delete or mdelete FTP commands. I don’t know of a way to select old files as a server-side operation, so one option would be to do an FTP ls to get a list of the files on the server, then parse the output to pick up those files which are older than your specified date. Then delete each one using an FTP command.

    If you have a local copy of all the files then it is probably easier to generate the list of files locally using find then delete them one at a time from the server.

    If you have some control over the FTP server then using rysnc instead of FTP would probably be easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 66k
  • Answers 66k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You need to abstract the hash table implementation out of… May 11, 2026 at 11:37 am
  • added an answer Nose has a 'test generator' feature for stuff like this.… May 11, 2026 at 11:37 am
  • added an answer ClassLoader.getResourceAsStream and Class.getResourceAsStream are definitely the way to go for… May 11, 2026 at 11:37 am

Related Questions

I run an OpenSuse server that uploads zipped source code backups to a Microsoft
I run an ASP.NET website solution with a few other projects in it. I've
I have run across an XML Schema with the following definition: <xs:simpleType name=ClassRankType> <xs:restriction
I have run into an issue with WPF and Commands that are bound to
I've run across an interesting PHP/SOAP error that has me stymied. After searching I
I need to run an equipment audit and to do that I need to
I want to run an Apache on my local machine since I can only
In a macro for Visual Studio 6, I wanted to run an external program,
I'm trying to run an ASP.NET 2.0 application on an XP machine. As far
I am trying to run an application that normally works when I install on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.