Skip to content

Commit 6762327

Browse files
author
Ankam Ravi Kumar
authored
Update README.md
1 parent 2ee9cc7 commit 6762327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ After that start learning shell scripting using below topics
109109

110110
- **Question:** I would like to delete directories older than two days from /fullbackup/archive path. How do you do it using any scripting methods.
111111

112-
- **Problem Statement:** I was trying to use ```find /path/ -type d -mtime +2 -print0 | xargs -r0 rm --```. This command does not works as expcted due to directory modified date for SAT, SUN and MON are Mondays date.
112+
- **Problem Statement:** I was trying to use ```find /path/ -type d -mtime +2 -print0 | xargs -r0 rm --```. This command does not work as expected due to directory modified date for SAT, SUN and MON moved directories same for all as Monday date.
113113

114114
- **How Do you solve it.??** Write Shell Script to accomplish this task. Should run through crontab and clear directories older than two days.

0 commit comments

Comments
 (0)