Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    25

    Unanswered: Recycle Folder Names

    I have a cron job that runs evrery day to back up files. Script it runs creates a folder with system date ie. Cron runs today April 21, 2004 folder name will be "BackupFor04212004".

    I need a bash script that will recycle these folder names so that at any given time, there are only 7 folders.

    Thank You.

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: Recycle Folder Names

    Originally posted by pranav610
    I have a cron job that runs evrery day to back up files. Script it runs creates a folder with system date ie. Cron runs today April 21, 2004 folder name will be "BackupFor04212004".

    I need a bash script that will recycle these folder names so that at any given time, there are only 7 folders.

    Thank You.
    "man date" that will give you the answer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •