# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# ### **How To List Modified Files Between Specific Range Of Days?**
# **Here, I list modified files Apr 08 to Apr 10.**

# + language="bash"
#
# find /home/mana/Work/ -type f -newermt 20200408 \! \
# -newermt 20200410

# + language="python3"
#
# from datetime import datetime
# from pathlib import Path
#
# start_day = datetime.strptime('08/4/2020 00',"%d/%m/%Y %H")
# end_day = datetime.strptime('10/4/2020 00',"%d/%m/%Y %H")
# files = Path('/home/mana/Work/')
# ftime = [(datetime.fromtimestamp(i.stat()[-2]),i) 
#          for i in files.iterdir() if i.is_file()]
#
# for x,y in ftime:
#     if start_day < x < end_day:
#         print(f'{x:%d-%m-%Y} => {y}')

StarcoderdataJupyterScriptsDedupFiltered