[Linux] Touch--Change the time of files after changing your system time

Use command:   touch 

Update the access and modification times of each FILE to the current time.


Format:

           1) find . |  xargs touch

           2) find ./ -type X | xargs touch


File is of type c:

              b      block (buffered) special
              c      character (unbuffered) special
              d      directory
              p      named pipe (FIFO)
              f       regular file
              l       symbolic link
              s      socket
              D     door (Solaris)



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章