Deprecated: Function jetpack_form_register_pattern is deprecated since version jetpack-13.4! Use Automattic\Jetpack\Forms\ContactForm\Util::register_pattern instead. in /home1/bryon64093/public_html/wp-includes/functions.php on line 6078
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/bryon64093/public_html/wp-includes/functions.php:6078) in /home1/bryon64093/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":253,"date":"2019-08-02T17:22:50","date_gmt":"2019-08-02T22:22:50","guid":{"rendered":"http:\/\/bryonfreeman.com\/?p=253"},"modified":"2019-08-02T17:22:50","modified_gmt":"2019-08-02T22:22:50","slug":"find-unix-file-by-date-or-time","status":"publish","type":"post","link":"http:\/\/bryonfreeman.com\/2019\/08\/02\/find-unix-file-by-date-or-time\/","title":{"rendered":"Find Unix File by Date or Time"},"content":{"rendered":"\nI needed to find all files in my Unix directory that were created within a certain timeframe.<\/p>\n\n\n\n
Here’s how to find all that were created on a set date:<\/p>\n\n\n\n
find -type f -name “*” -newermt “2019-07-01” ! -newermt “2019-07-02” -ls<\/p>\n\n\n\n
Here’s how to find within a time frame:
find -type f -name “*” -newermt “2019-07-01 00:00:00” ! -newermt “2019-07-01 08:00:00” -ls<\/p>\n\n\n\n
It finds all files “newer than” the first value, but then excludes any files that are “newer than” the second value.<\/p>\n","protected":false},"excerpt":{"rendered":"
I needed to find all files in my Unix directory that were created within a certain timeframe. Here’s how to find all that were created on a set date: find -type f -name “*” -newermt “2019-07-01” ! -newermt “2019-07-02” -ls Here’s how to find within a time frame: find -type f -name “*” -newermt “2019-07-01 … <\/p>\n
Continue reading “Find Unix File by Date or Time”<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9BMT4-45","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/posts\/253"}],"collection":[{"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/comments?post=253"}],"version-history":[{"count":1,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":254,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/posts\/253\/revisions\/254"}],"wp:attachment":[{"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bryonfreeman.com\/wp-json\/wp\/v2\/tags?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}