Why do certain files keep showing up at the top of the Google Drive > Recent list with a future date?












1















I kept having a problem where the same files kept showing up at the top of my Google Drive > Recent list ( https://drive.google.com/drive/recent ) even though I hadn't modified or even opened them in years. This rendered the Recent list useless since it always showed old files at the top.



Upon further inspection of the Details pane (shortcut d), these files' Modified Dates were in the future, year 2038!



Why is this happening, and how do I fix it so the Recent list is useful again?










share|improve this question























  • Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

    – music2myear
    Feb 2 '17 at 20:31











  • Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

    – music2myear
    Feb 2 '17 at 20:33
















1















I kept having a problem where the same files kept showing up at the top of my Google Drive > Recent list ( https://drive.google.com/drive/recent ) even though I hadn't modified or even opened them in years. This rendered the Recent list useless since it always showed old files at the top.



Upon further inspection of the Details pane (shortcut d), these files' Modified Dates were in the future, year 2038!



Why is this happening, and how do I fix it so the Recent list is useful again?










share|improve this question























  • Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

    – music2myear
    Feb 2 '17 at 20:31











  • Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

    – music2myear
    Feb 2 '17 at 20:33














1












1








1


1






I kept having a problem where the same files kept showing up at the top of my Google Drive > Recent list ( https://drive.google.com/drive/recent ) even though I hadn't modified or even opened them in years. This rendered the Recent list useless since it always showed old files at the top.



Upon further inspection of the Details pane (shortcut d), these files' Modified Dates were in the future, year 2038!



Why is this happening, and how do I fix it so the Recent list is useful again?










share|improve this question














I kept having a problem where the same files kept showing up at the top of my Google Drive > Recent list ( https://drive.google.com/drive/recent ) even though I hadn't modified or even opened them in years. This rendered the Recent list useless since it always showed old files at the top.



Upon further inspection of the Details pane (shortcut d), these files' Modified Dates were in the future, year 2038!



Why is this happening, and how do I fix it so the Recent list is useful again?







google-drive






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 26 '17 at 0:55









wisbuckywisbucky

1,085918




1,085918













  • Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

    – music2myear
    Feb 2 '17 at 20:31











  • Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

    – music2myear
    Feb 2 '17 at 20:33



















  • Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

    – music2myear
    Feb 2 '17 at 20:31











  • Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

    – music2myear
    Feb 2 '17 at 20:33

















Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

– music2myear
Feb 2 '17 at 20:31





Someone else asked a similar question, and the fact they also noted a date of 2038 seems to me to indicate this is some programmatic assumption in Google Drive stackoverflow.com/questions/39700659/…

– music2myear
Feb 2 '17 at 20:31













Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

– music2myear
Feb 2 '17 at 20:33





Also, there's this post on the Google Product Forums: productforums.google.com/forum/#!topic/drive/JGsnVUiuOm4 I'd guess this is a bug.

– music2myear
Feb 2 '17 at 20:33










2 Answers
2






active

oldest

votes


















1














Cause:



Somehow, those files' datetime stamps got corrupted and have a Modified or Created datetime stamp in the future (usually year 2038). So when Google Drive sorts the Recent files by date descending, these corrupted files always show up at the top.



Solution:



On a computer where those files are synced:




  1. Move the files to a directory outside of Google Drive directory, so that the files are deleted from Google Drive cloud. Wait for the sync to finish deleting the files.


  2. Change the Modified, Created, and Accessed datetime stamps for those files to a non-future date. (See below for detailed steps.)


  3. Move the files back to the Google Drive directory, so that the files are re-uploaded to Google Drive cloud again. Wait for the sync to finish uploading the files.


  4. Reload the Google Drive > Recent list again to verify that the Modified date is no longer in the future.



Changing datetime stamps on Windows:



2a. After you have moved the files to a directory outside of Google Drive, open a powershell window in that directory.



2b. (optional) List that files that have future dates.



    ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


2c. Set the desired datetime stamps (replace the date with what you want).



    ls * | foreach { $_.LastWriteTime = (Get-Date "12/31/2016"); $_.CreationTime = $_.LastWriteTime; $_.LastAccessTime = $_.LastWriteTime}


2d. Verify that no more files have future dates.



    ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


Changing datetime stamps on Mac:



2a. After you have moved the files to a directory outside of Google Drive, open a Terminal window in that directory.



2b. Set the desired datetime stamps (using format YYYYMMDDhhmm):



    touch -t 201612310000 *


2c. Verify that the dates look good. The first date is Modify Date, which should match what you set above. The other 3 dates are Birth/Create Date, Change Date, Access Date, which may not match Modify Date, but just make sure they are not in the future.



    stat -f "%Sm | %SB | %Sc | %Sa | %N" -t "%Y-%m-%d %H:%M:%S" *





share|improve this answer































    0














    Building on wisbucky's answer. If you are accessing only on web and don't have access to a desktop client for Google Drive, you can use the following workaround:




    • Select the troublesome files with the future tiestamps in the recent activity feed

    • Download them as a zip and confirm the zip downloaded

    • Delete the files

    • Reupload the zip


    You'll need to unzip later but it's a quick and dirty trick to get the invalid future timestamp files removed while keeping the original contents in a new zip.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1171649%2fwhy-do-certain-files-keep-showing-up-at-the-top-of-the-google-drive-recent-lis%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Cause:



      Somehow, those files' datetime stamps got corrupted and have a Modified or Created datetime stamp in the future (usually year 2038). So when Google Drive sorts the Recent files by date descending, these corrupted files always show up at the top.



      Solution:



      On a computer where those files are synced:




      1. Move the files to a directory outside of Google Drive directory, so that the files are deleted from Google Drive cloud. Wait for the sync to finish deleting the files.


      2. Change the Modified, Created, and Accessed datetime stamps for those files to a non-future date. (See below for detailed steps.)


      3. Move the files back to the Google Drive directory, so that the files are re-uploaded to Google Drive cloud again. Wait for the sync to finish uploading the files.


      4. Reload the Google Drive > Recent list again to verify that the Modified date is no longer in the future.



      Changing datetime stamps on Windows:



      2a. After you have moved the files to a directory outside of Google Drive, open a powershell window in that directory.



      2b. (optional) List that files that have future dates.



          ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


      2c. Set the desired datetime stamps (replace the date with what you want).



          ls * | foreach { $_.LastWriteTime = (Get-Date "12/31/2016"); $_.CreationTime = $_.LastWriteTime; $_.LastAccessTime = $_.LastWriteTime}


      2d. Verify that no more files have future dates.



          ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


      Changing datetime stamps on Mac:



      2a. After you have moved the files to a directory outside of Google Drive, open a Terminal window in that directory.



      2b. Set the desired datetime stamps (using format YYYYMMDDhhmm):



          touch -t 201612310000 *


      2c. Verify that the dates look good. The first date is Modify Date, which should match what you set above. The other 3 dates are Birth/Create Date, Change Date, Access Date, which may not match Modify Date, but just make sure they are not in the future.



          stat -f "%Sm | %SB | %Sc | %Sa | %N" -t "%Y-%m-%d %H:%M:%S" *





      share|improve this answer




























        1














        Cause:



        Somehow, those files' datetime stamps got corrupted and have a Modified or Created datetime stamp in the future (usually year 2038). So when Google Drive sorts the Recent files by date descending, these corrupted files always show up at the top.



        Solution:



        On a computer where those files are synced:




        1. Move the files to a directory outside of Google Drive directory, so that the files are deleted from Google Drive cloud. Wait for the sync to finish deleting the files.


        2. Change the Modified, Created, and Accessed datetime stamps for those files to a non-future date. (See below for detailed steps.)


        3. Move the files back to the Google Drive directory, so that the files are re-uploaded to Google Drive cloud again. Wait for the sync to finish uploading the files.


        4. Reload the Google Drive > Recent list again to verify that the Modified date is no longer in the future.



        Changing datetime stamps on Windows:



        2a. After you have moved the files to a directory outside of Google Drive, open a powershell window in that directory.



        2b. (optional) List that files that have future dates.



            ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


        2c. Set the desired datetime stamps (replace the date with what you want).



            ls * | foreach { $_.LastWriteTime = (Get-Date "12/31/2016"); $_.CreationTime = $_.LastWriteTime; $_.LastAccessTime = $_.LastWriteTime}


        2d. Verify that no more files have future dates.



            ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


        Changing datetime stamps on Mac:



        2a. After you have moved the files to a directory outside of Google Drive, open a Terminal window in that directory.



        2b. Set the desired datetime stamps (using format YYYYMMDDhhmm):



            touch -t 201612310000 *


        2c. Verify that the dates look good. The first date is Modify Date, which should match what you set above. The other 3 dates are Birth/Create Date, Change Date, Access Date, which may not match Modify Date, but just make sure they are not in the future.



            stat -f "%Sm | %SB | %Sc | %Sa | %N" -t "%Y-%m-%d %H:%M:%S" *





        share|improve this answer


























          1












          1








          1







          Cause:



          Somehow, those files' datetime stamps got corrupted and have a Modified or Created datetime stamp in the future (usually year 2038). So when Google Drive sorts the Recent files by date descending, these corrupted files always show up at the top.



          Solution:



          On a computer where those files are synced:




          1. Move the files to a directory outside of Google Drive directory, so that the files are deleted from Google Drive cloud. Wait for the sync to finish deleting the files.


          2. Change the Modified, Created, and Accessed datetime stamps for those files to a non-future date. (See below for detailed steps.)


          3. Move the files back to the Google Drive directory, so that the files are re-uploaded to Google Drive cloud again. Wait for the sync to finish uploading the files.


          4. Reload the Google Drive > Recent list again to verify that the Modified date is no longer in the future.



          Changing datetime stamps on Windows:



          2a. After you have moved the files to a directory outside of Google Drive, open a powershell window in that directory.



          2b. (optional) List that files that have future dates.



              ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


          2c. Set the desired datetime stamps (replace the date with what you want).



              ls * | foreach { $_.LastWriteTime = (Get-Date "12/31/2016"); $_.CreationTime = $_.LastWriteTime; $_.LastAccessTime = $_.LastWriteTime}


          2d. Verify that no more files have future dates.



              ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


          Changing datetime stamps on Mac:



          2a. After you have moved the files to a directory outside of Google Drive, open a Terminal window in that directory.



          2b. Set the desired datetime stamps (using format YYYYMMDDhhmm):



              touch -t 201612310000 *


          2c. Verify that the dates look good. The first date is Modify Date, which should match what you set above. The other 3 dates are Birth/Create Date, Change Date, Access Date, which may not match Modify Date, but just make sure they are not in the future.



              stat -f "%Sm | %SB | %Sc | %Sa | %N" -t "%Y-%m-%d %H:%M:%S" *





          share|improve this answer













          Cause:



          Somehow, those files' datetime stamps got corrupted and have a Modified or Created datetime stamp in the future (usually year 2038). So when Google Drive sorts the Recent files by date descending, these corrupted files always show up at the top.



          Solution:



          On a computer where those files are synced:




          1. Move the files to a directory outside of Google Drive directory, so that the files are deleted from Google Drive cloud. Wait for the sync to finish deleting the files.


          2. Change the Modified, Created, and Accessed datetime stamps for those files to a non-future date. (See below for detailed steps.)


          3. Move the files back to the Google Drive directory, so that the files are re-uploaded to Google Drive cloud again. Wait for the sync to finish uploading the files.


          4. Reload the Google Drive > Recent list again to verify that the Modified date is no longer in the future.



          Changing datetime stamps on Windows:



          2a. After you have moved the files to a directory outside of Google Drive, open a powershell window in that directory.



          2b. (optional) List that files that have future dates.



              ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


          2c. Set the desired datetime stamps (replace the date with what you want).



              ls * | foreach { $_.LastWriteTime = (Get-Date "12/31/2016"); $_.CreationTime = $_.LastWriteTime; $_.LastAccessTime = $_.LastWriteTime}


          2d. Verify that no more files have future dates.



              ls * | where { ($_.LastWriteTime -gt (get-date)) -or ($_.CreationTime -gt (get-date)) -or ($_.LastAccessTime -gt (get-date)) } | select LastWriteTime, CreationTime, LastAccessTime, Name


          Changing datetime stamps on Mac:



          2a. After you have moved the files to a directory outside of Google Drive, open a Terminal window in that directory.



          2b. Set the desired datetime stamps (using format YYYYMMDDhhmm):



              touch -t 201612310000 *


          2c. Verify that the dates look good. The first date is Modify Date, which should match what you set above. The other 3 dates are Birth/Create Date, Change Date, Access Date, which may not match Modify Date, but just make sure they are not in the future.



              stat -f "%Sm | %SB | %Sc | %Sa | %N" -t "%Y-%m-%d %H:%M:%S" *






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 26 '17 at 0:55









          wisbuckywisbucky

          1,085918




          1,085918

























              0














              Building on wisbucky's answer. If you are accessing only on web and don't have access to a desktop client for Google Drive, you can use the following workaround:




              • Select the troublesome files with the future tiestamps in the recent activity feed

              • Download them as a zip and confirm the zip downloaded

              • Delete the files

              • Reupload the zip


              You'll need to unzip later but it's a quick and dirty trick to get the invalid future timestamp files removed while keeping the original contents in a new zip.






              share|improve this answer




























                0














                Building on wisbucky's answer. If you are accessing only on web and don't have access to a desktop client for Google Drive, you can use the following workaround:




                • Select the troublesome files with the future tiestamps in the recent activity feed

                • Download them as a zip and confirm the zip downloaded

                • Delete the files

                • Reupload the zip


                You'll need to unzip later but it's a quick and dirty trick to get the invalid future timestamp files removed while keeping the original contents in a new zip.






                share|improve this answer


























                  0












                  0








                  0







                  Building on wisbucky's answer. If you are accessing only on web and don't have access to a desktop client for Google Drive, you can use the following workaround:




                  • Select the troublesome files with the future tiestamps in the recent activity feed

                  • Download them as a zip and confirm the zip downloaded

                  • Delete the files

                  • Reupload the zip


                  You'll need to unzip later but it's a quick and dirty trick to get the invalid future timestamp files removed while keeping the original contents in a new zip.






                  share|improve this answer













                  Building on wisbucky's answer. If you are accessing only on web and don't have access to a desktop client for Google Drive, you can use the following workaround:




                  • Select the troublesome files with the future tiestamps in the recent activity feed

                  • Download them as a zip and confirm the zip downloaded

                  • Delete the files

                  • Reupload the zip


                  You'll need to unzip later but it's a quick and dirty trick to get the invalid future timestamp files removed while keeping the original contents in a new zip.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 15 at 1:50









                  Kieran F.Kieran F.

                  11




                  11






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1171649%2fwhy-do-certain-files-keep-showing-up-at-the-top-of-the-google-drive-recent-lis%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Plaza Victoria

                      In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                      How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...