6080 links
  • GuiGui's Show
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
 
  • Find Files By Access, Modification Date / Time Under Linux or UNIX
    « To find files in the /nas/images directory tree that are newer than the file /tmp/foo file, enter:

    find /etc -newer /tmp/foo

    You can use the touch command to set date timestamp you would like to search for, and then use -newer option as follows

    touch --date "2010-01-05" /tmp/foo
    # Find files newer than 2010/Jan/05, in /data/images
    find /data/images -newer /tmp/foo »

    Et donc, pour trouver des fichiers entre deux dates (ici entre janvier 2014 et avril 2014 inclus) :
    touch --date "2014-04-30" /tmp/older
    touch --date "2014-01-01" /tmp/newer
    find . -newer /tmp/newer ! -newer /tmp/older
    May 18, 2014 at 1:26:56 PM UTC - permalink - http://www.cyberciti.biz/faq/howto-finding-files-by-date/
Links per page: 20 50 100
 
Mentions légales identiques à celles de mon blog | CC BY-SA 3.0

Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community