This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Bash script to delete old files in HDFS
License
Sharlie89/hdfs-del
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This script delete old files and dirs in HDFS. Is prepared to delete files with name format name.numbers. You can change this in the script. Also, it uses variables to set the directory where HDFS will search for old files. USAGE: bash hdfs_del.sh days Ex: bash hdfs_del.sh 3 It will delete all files with 3 days old NOTE: All files will be erased, this script doesn't use the HFDS trash.
About
Bash script to delete old files in HDFS
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published