fix path
This commit is contained in:
parent
34d14b6851
commit
10aad838bf
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
while read -r dir
|
||||
do
|
||||
echo "Checking dir '${dir}'..."
|
||||
last_file=$(ls -ht -- "${dir}" | head -n1)
|
||||
last_file="${dir}/$(ls -ht -- "${dir}" | head -n1)"
|
||||
echo "Last modified file is '${last_file}'"
|
||||
last_file_time=$(stat -c %Y -- "${last_file}")
|
||||
echo "Last modification time of the file is '${last_file_time}'"
|
||||
|
|
Loading…
Reference in a new issue