change both times
This commit is contained in:
parent
33bff3c7f8
commit
2ab1ae74cf
1 changed files with 1 additions and 1 deletions
|
@ -8,5 +8,5 @@ do
|
|||
echo "Last modification time of the file is '${last_file_time}'"
|
||||
last_file_time_formated=$(date -d "@${last_file_time}" +%Y%m%d%H%M.%S)
|
||||
echo "Last modification time formated is '${last_file_time_formated}'"
|
||||
touch -a -m -t "${last_file_time_formated}" -- "${dir}"
|
||||
touch -t "${last_file_time_formated}" -- "${dir}"
|
||||
done <<< "$(find . -mindepth 1 -maxdepth 1 -type d)"
|
||||
|
|
Loading…
Reference in a new issue