Odd tmp_ and duplicate files when using OneDrive

Hi,
I’m currently interested in buying a license for my OneDrive account, and I’m using a free trial to see how it works. I would like to migrate my Dropbox over to a OneDrive Business account, since I get 5TB free storage through my university.

The problem I’m having is, when I sync files with OneDrive, I get a lot of odd tmp files:

nate@ralien:~/OneDrive$ find . -name ~tmp*
./Manuscripts/Stalled_Abandoned_MS/Ecology_Definitions/~tmpB3_Appendix_A.docx
./Manuscripts/Stalled_Abandoned_MS/EcoPy/Methods_Ecol_Evol/Revision2/~tmp38_EcoPy_MEE_R2.tex
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/~tmp46_ecy_2599-proofs-corrected.pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/~tmpA4_Temperature_CarryingCapacity_R2_Draft1_TrackChanges.pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/~tmp9F_Revision_Responses_R2.pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/~tmpF7_temp_carrying_capacity.bib
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/~tmp67_Temperature_CarryingCapacity_R2_Draft1_TrackChanges.tex
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/Supplemental_Info/~tmp8C_Carrying_Capacities.py
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/Supplemental_Info/~tmp21_Appendix_S4.log
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision1/Supplemental_Info/Figures/~tmpEE_Droop_Equilibria_Panel_Tsigma10.pdf
./Manuscripts/Ongoing_MS/Drought_Lags_Resistance_IRF/Ecology/Initial_Submission/Figures/~tmp85_Figure3.png
./Manuscripts/Ongoing_MS/EDGE_ANPP_Abiotic_Biotic/Science/Initial_Submission/~tmpC3_EDGE_ANPP_Abiotic_Biotic_Science_Methods.doc
./Manuscripts/Ongoing_MS/CORRE_ANPP_Variability/~tmp62_Avolio_CoRRE_ANPP_Variability - NL.docx
./Grant_Budgets_Info/2012_FIU_FRSP/~tmp54_Kalglo_Invoice.PDF
./Grant_Budgets_Info/2012_NSF_DDIG_DEB-1311464/Receipts/~tmp44_BioServe-3.pdf
./Grant_Budgets_Info/2012_NSF_DDIG_DEB-1311464/Receipts/~tmp18_BioServe-4.pdf
./Jobs_School/Faculty_Applications/2015_UCSB_QuantEcol/CoverLetter/~tmpAC_coverLetter.pdf
./Jobs_School/Faculty_Applications/2018_UCLA_Theoretical/~tmp61_2018_UCLA_Theoretical_cover_letter.doc
./Jobs_School/Faculty_Applications/2018_UCLA_Theoretical/~tmp44_2018_UCLA_Theoretical_diversity.pdf
./Jobs_School/Faculty_Applications/2014_UC_Davis/~tmp26_futureResearch.pdf
./Jobs_School/Faculty_Applications/2017_UMD_I/~tmpBD_references.pdf
./Jobs_School/Faculty_Applications/2018_Brown/~tmpC2_2018_Brown_research_plan.pdf
./Jobs_School/Faculty_Applications/2018_Brown/~tmp4A_2018_Brown_cover_letter.doc
./Jobs_School/Faculty_Applications/2018_Oregon/~tmp51_2018_Oregon_research_plan.pdf
./Jobs_School/Faculty_Applications/2018_Oregon/~tmpB3_2018_Oregon_merged_pubs.pdf
./Jobs_School/Faculty_Applications/2017_Harvard_I/~tmp60_2017_Harvard_teaching_statement.docx
./Jobs_School/Faculty_Applications/2018_Montana_I/~tmp7D_2018_Montana_research_plan.docx
./Jobs_School/Faculty_Applications/2018_Davis_GrassEcol/~tmp04_2018_Davis_GrassEcol_diversity_statement.docx
./Jobs_School/Faculty_Applications/2017_SDSU_I/~tmp1B_2017_SDSU_cover_letter.doc
./Jobs_School/Faculty_Applications/2016_U_Saskatchewan_I/~tmp71_teaching_statement.pdf
./R/~tmpFE_GGPLOT2 in R.pdf
./R/~tmp16_Monte Carlo Simulations in R Solutions.pdf
./Reviews/Oecologia/OECO-D-17-00866/~tmpC0_OECO-D-17-00866.pdf
./Reviews/J_Animal_Ecol/JAE-2018-00449/~tmp2C_JAE-201800049_Review.txt
./Reviews/Plant_Ecology/VEG-D-15-00215/~tmp14_VEG-D-15-00215_Review.rtf
./Reviews/Annals_Applied_Biol/AAB-2017-0233/~tmpFE_AAB-2017-0233.pdf
./Reviews/Oikos/OIK-05310/~tmp62_OIK-05310.pdf
./Reviews/Oikos/OIK-05774/~tmp6C_OIK-05774_Review.txt
./Reviews/Biol_Inv/BINV-D-16-00298/~tmp3D_BINV-D-16-00298_Review
./Reviews/Funct_Ecol/FE-2018-00765/~tmp1A_FE-2018-00765.pdf
./Marquette/Research/Ongoing/2019_Antarctica_Shackleton/Figures/Geochem/~tmp2E_salts_timeseries_PC1.pdf
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/logs/refs/remotes/origin/~tmpAF_master
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/2e/~tmpB8_4643b16dd4f27b97b3a4d20fde78df1a722402
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/de/~tmpC8_5ee5ea01c25431526c837760fa3c955d848e38
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/65/~tmp4E_0ac4a78f7925f5869d5fdb6a724f066490453e
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/b3/~tmp00_a36d2bd3887fda0cf004633a2b611de4766482

These tmp files don’t show up in the online version of OneDrive. When I delete one of the files, I wind up deleting both the tmp and non-tmp file (I lose them both).

Additionally, after I sync the first time, I can close Insync and restart it. I find it re-downloads several files, sometimes as duplicates:

/home/nate/OneDrive/Jobs_School/Faculty_Applications/2018_Boston_I/2018_Boston_teaching_statement.docx
/home/nate/OneDrive/Jobs_School/Faculty_Applications/2018_Boston_I/2018_Boston_teaching_statement (2).docx

If I delete the duplicate (2), I wind up deleting both files. However, if I go into my Trash, I can restore one or both, and then delete them individually (as in, after I restore both files, I can delete the duplicate (2) without deleting the original).

This behavior seems weird to me, and I have some folders with 3,000 PDFs in them, so I can’t just go in and fix the problem by hand. Is this an Insync issue or a OneDrive issue? Is there a known fix for this?

Thanks!
-Nate

Also, its worth noting that there are a large number of duplicate files (well, files AND folders) on my local computer:

./Manuscripts/Stalled_Abandoned_MS/Proper_Reviews_Letter/Science/Shantz_Lemoine_Peer_Review (2).docx
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/N_cinerea/dataset/50c9509d-22c7-4a22-a47d-8c48425ef4a7 (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/N_cinerea/dataset/377be098-626f-4cc2-b4b5-35700050669a (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/N_cinerea/metadata (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/Z_californianus/dataset/0daed095-478a-4af6-abf5-18acb790fbb2 (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/Z_californianus/dataset/811f7d86-f762-11e1-a439-00145eb45e9a (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/Z_californianus/meta (2).xml
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/Z_californianus/Zcalif (2).csv
./Manuscripts/Stalled_Abandoned_MS/Gallagher_Reply/P_hookeri/meta (2).xml
./Manuscripts/Stalled_Abandoned_MS/Marsh_Herbivory/Marsh_Herbivory_stats_1 (2).docx
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/AmNat/Initial_Submission/Figures/Figure2 (2).pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/NatureClimChange/Initial_Submission/Figures/Figure3 (2).pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/ecology (2).bst
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/Temperature_CarryingCapacity_R2_Draft1 (2).tex
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/cover_letter (2).doc
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision2/Supplemental_Info/Appendix_S4.synctex (2).gz
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/FinalVersion/Supplemental_Info/Figures/Droop_Equilibria_Panel_Tsigma10 (2).pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision1/cover_letter (2).doc
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/Revision1/Supplemental_Info/Figures/Intrinsic_Growth_Rates (2).pdf
./Manuscripts/Completed_MS/Temperature_CarryingCapacity/Ecology/InitialSubmission/temp_carrying_capacity (2).bib
./Manuscripts/Completed_MS/Invasion_TraitPhylo.tar (2).gz
./Manuscripts/Ongoing_MS/Drought_Lags_Resistance_IRF/Ecology/Initial_Submission/Figures/Figure2 (2).png
./Manuscripts/Ongoing_MS/N_Metabolomics_SGS/Change_Metabolomics_v4 (2).docx
./Manuscripts/Ongoing_MS/EDGE_ANPP_Abiotic_Biotic/Science/Initial_Submission/Supplemental_Information/SI_Figures (2).doc
./To Read/Temp_Stoich/mallet 2012 the struggle (2).pdf
./Grant_Budgets_Info/2012_FIU_FRSP/PMI_Topsoil (2).pdf
./Grant_Budgets_Info/2012_FIU_FRSP/Posner_SheetMetal (2).pdf
./Grant_Budgets_Info/2012_NSF_DDIG_DEB-1311464/Receipts/LifeTech_AmplexKit (2).pdf
./Grant_Budgets_Info/2012_NSF_DDIG_DEB-1311464/Receipts/Homestead_PottingSoil (2).pdf
./Grant_Budgets_Info/2012_NSF_DDIG_DEB-1311464/Receipts/FunSpot_foamTubes (2).rtf
./Jobs_School/Faculty_Applications/2016_MIT/cover_letter (2).doc
./Jobs_School/Faculty_Applications/2015_UCSB_QuantEcol/DiversityStatement/diversityStatement (2).tex
./Jobs_School/Faculty_Applications/2017_UWash/2017_UW_diversity_statement (2).pdf
./Jobs_School/Faculty_Applications/2018_Chapman/2018_Chapman_teaching_statement (2).docx
./Jobs_School/Faculty_Applications/2018_UCLA_Theoretical/2018_UCLA_Theoretical_diversity (2).doc
./Jobs_School/Faculty_Applications/2016_UBC_I/research_statement (2).docx
./Jobs_School/Faculty_Applications/2016_UBC_I/research_statement (2).pdf
./Jobs_School/Faculty_Applications/2014_UC_Davis/researchAccomp (2).pages
./Jobs_School/Faculty_Applications/2018_UCSB/2018_UCSB_cover_letter (2).doc
./Jobs_School/Faculty_Applications/2018_UCSB/2018_UCSB_diversity_statement (2).docx
./Jobs_School/Faculty_Applications/2018_Oregon/2018_Oregon_teaching_statement (2).docx
./Jobs_School/Faculty_Applications/2014_Tennessee/TeachingStatement/teachingStatement (2).tex
./Jobs_School/Faculty_Applications/2017_Harvard_I/2017_Harvard_cover_letter (2).doc
./Jobs_School/Faculty_Applications/2014_Berkeley_ERG/ResearchStatement/researchStatement (2).tex
./Jobs_School/Faculty_Applications/2018_Davis_GrassEcol/2018_Davis_GrassEcol_research_accomplishment (2).pdf
./Jobs_School/Faculty_Applications/2018_Berkeley/2018_Berkeley_teaching_statement (2).pdf
./Jobs_School/Faculty_Applications/2015_USGS_ReserchEcologist_FoCo_I (2)
./Jobs_School/Faculty_Applications/2018_Cornell/2018_Cornell_research_plan (2).pdf
./Jobs_School/Faculty_Applications/2016_U_Saskatchewan_I/references (2).pdf
./Jobs_School/Faculty_Applications/2018_Boston_I/2018_Boston_teaching_statement (2).docx
./Jobs_School/Example_Job_Packets/Cavanaugh/Cavanaugh_cover_letter (2).pdf
./R/Multivariate Analysis in R (2).pdf
./R/Practical Regression and ANOVA in R (2).pdf
./Reviews/PeerJ/peerj-9316/PeerJ_9316_Review (2)
./Reviews/J_Animal_Ecol/JAE-2015-00540/JAE-2015-00540-R1/JAE-2015-00540_R1_Review (2).rtf
./Reviews/J_Animal_Ecol/JAE-2018-00449/JAE-2018-00449 (2).pdf
./Reviews/New_Phytologist/NPH-MS-2016-23154/NPH-MS-2016-23154_Review (2)
./Reviews/Acta_Physiologiae_Plantarum/ACPP-D-15-01032/ACPP-D-15-01032_R1/ACPP-D-15-01032_R1_Review (2)
./Reviews/Restoration_Ecol/REC-18-156/REC-18-156 (2).txt
./Reviews/Ecol_Lett/ELE-00433-2015/Responses to the comments_final2.0 (2).doc
./Reviews/Oikos/OIK-06122/OIK-06122_Review (2).txt
./Reviews/J_Biogeog/JBI-18-0486/JBI-18-0486_Review (2).txt
./Reviews/Funct_Ecol/FE-2017-01051/FE-2017-01051_Review (2)
./Reviews/Funct_Ecol/FE-2018-00765/FE-2018-00765-SI (2).docx
./Presentations/2018_GRC_PredatorPrey.tar (2).gz
./Marquette/Grants/2017_NSF_DEB_DroughtHerbivory/fastlanebudgetform (2).docx
./Marquette/Grants/2017_NSF_DEB_DroughtHerbivory/LemoineBudgetJustificaiton (2).doc
./Marquette/Grants/NSF_GRFP_Examples/Alison Post personal statement (2).pdf
./Marquette/Research/Ongoing/2019_Antarctica_Shackleton/Raw_Data (2)
./Marquette/Research/Ongoing/2019_Antarctica_Shackleton/Cleaned_Data/Nematodes/nematodes_dw (2).csv
./Marquette/Research/Ongoing/2019_Antarctica_Shackleton/Cleaned_Data/Microbes/microbes_phylum_cleaned (2).csv
./Marquette/Research/Ongoing/2019_NSF_Drought_Herbivory_Field/Potential_Sites/BlackEarth_Rettenmund3 (2).jpg
./Marquette/Research/Ongoing/2019_NSF_Drought_Herbivory_Field/Potential_Sites/Sherven_Gnewuch1 (2).jpg
./Marquette/Research/Ongoing/2019_NSF_Drought_Herbivory_Field/Potential_Sites/Halfway_Prairie2 (2).jpg
./Marquette/Research/Ongoing/2019_NSF_Drought_Herbivory_Field/Potential_Sites/BlackEarth_Rettenmund1 (2).jpg
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/branches (2)
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/logs/HEAD (2)
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/62/1be000c54664c4bf8880123b165e2d6ab57867 (2)
./Marquette/Teaching/2019_Fall_Intro-to-Stats/.git/objects/ae (2)

and that these also do not show up in the online OneDrive application.

Hi @Nathan_Lemoine so so sorry for the late reply. We’ll make sure to attend to this as soon as you send your logs (please do include the link to this post) to support@insynchq.com

As this has been here for a few days (again we apologize for the backlog) – are you already updated to 3.0.21? New Insync version: 3.0.21