I am looking for some kind of automated method to move mail items older than N months from my Exchange inbox (and "Online Archive", also Exchange hosted I believe) into a pst file. Preferably also preserving the subfolder hierarchy within the Inbox.
I've looked all over SO and google but surprisingly this seems more complicated than it should be. I'm thinking some kind of script (VBScript, Powershell, VBA) for Outlook 2013 would be best.
The closest thing I could find was this, but it's not exactly what I'm after.
Anyone have any tips, pointers, links, code or even suggestions where to start?
My thought is basic pseudo-code would be:
Run Once per day (automated, via some job scheduler)
Scan all folders and items with INBOX
If item age > N months, move to pst file (create folder if doesn't exist in target
Thanks!
Use AutoArchive feature in Outlook.
It is capable of moving your items from Exchange Inbox folder and its subfolders into local archive PST file, running once per day and move items aged over N months. Set it up in properties of your Inbox folder or any other standalone folders:
Adjust the settings as appropriate.
Maybe there are reasons why you want to do it in another way, but I cannot find anything like that in the question as it is currently asked.
Related
I've been given the dubious hack of a task to stop tracking all "TFS stuff" from about a month back to the time it first started. Why? Because it's currently a behemoth. Over half a million files and close to six digits of changesets across loads of inter/cross-connected branches for a "legacy" code repository where no one cares about the "old stuff"'s history or access to old files, but they need what's currently in the repo to stay there.
The problem is, at its current state it is making interacting with TFS a huge pain. The few devs who still touch this code base often have IDE crashes when trying to do simple things like, access the source control explorer, checkin, etc... really basic things have become sketchy from TFS bloat. If I want to merge a single changeset from one active branch to another, I get lag with the lists loading for 5-10 minutes instead of a few seconds.
While researching, I ran across this old question. It seems like it may be what I need, but I'd hate to find out the hard way that I used the commands incorrectly and have to re-load the snapshot for our TFS server, as this repo is worked on in multiple timezones.
How do I reset/purge history, shelvesets, work items, and anything else before say, C20,0000, meaning, I don't care about anything before C20,000, but I want all the files that exist at the time of C20,000, even if one of those files was part of say, C12, but is still in the repo and unchanged.
If the linked-to answer provides the answer I need, but not the clarity, I'm fine closing this as a dupe so long as the other answer gets updated with clarification.
I'd like to do something along the lines of this pseudo-code:
tfs nuke $collection/$ProjectName beforeChangeset:C20000 /keepCurrentFiles
I'm guessing that will require multiple commands for things like files and shelvesets, but that's the gist of what I'm trying to accomplish.
I am looking for official documentation (preferably) that would describe when exactly Windows folder time-stamp changes. I am not sure where to look for the exact answer and any help will be appreciated.
The problem is that there is a folder in which all of the files have "changed" date coming from say 2005 while the folder changed date is 2015. What actions could (except for deleting / moving files) could have brought that change to the folder time stamp? Unfortunately I do not have access to complete metadata but only to the date of last change (screenshot).
Thanks a lot for any tip!
Is it possible for someone with Administrator access to easily create arbitrary files (e.g. text documents) within the C:\Inetpub\wwwroot folder under Windows 8.1?
Normally right-click presents me with many file types I can create; here, I'm only given the option to create a new sub-folder, even though I can (i) edit existing files there or (ii) create files elsewhere and move them there. (Also, gvim running with administrator access can't create a (new) swap file there).
I created a subfolder ("test"), and took ownership of it, but it made no difference. One of my colleagues thought that this was a "special case" overridden by IIS and could be configured by the Group Policy Editor somehow?
I've heard that disabling UAC solves the problem, but I don't want to do that!
Any ways round this? (Reference to an existing discussion I missed would be fine if it covers the same problem). Thanks!
Smychi
Solved this; I added the specific administrative user account I was logged in under ("User") to the list of permissions and granted myself "Full Control".
Not sure why this didn't already work with the existing groups settings, though I'll admit my knowledge of Windows permissions isn't as good as it should be.
Feel free to say whether this is a good or bad way to do it, or add any comment to this anyway, for my benefit or for others who might stumble across this.
Smychi
I am very new to this, Sorry if this is a naive question. I've been through the ruby tutorial for Dropbox API. Still confused on where should I start.
My situation:
I am running a copyshop. And usually my customers either bring their usb sticks OR upload to gmail then download in my shop OR upload to dropbox then print thier docs/pdfs/fotos.
And one day a customer ask me if I know dropbox. I say YES, I know it. And he ask me if it's possible to share a folder with him, then he can put his files into the folder at home, then come to my shop, open it and print, neat!!
But...Other clients also want to use this service, and they don't want their files exposure to other people (maybe private fotos, secret business plan, important letters...etc). The other problem is I want to make those who do not have dropbox also could upload files to my Dropbox folder that they can come and print.
Why use dropbox is because it's free for till 18G. And When the customer comes to print, I can remove the files, so 2-10G will be enough for 1-3 days buffering.
What I am thinking is to implement a website that allows people to upload DOCs/PDFs/Photos and save these files to my dropbox folder.
For people who have dropbox accounts, they will have a folder called copyshop in their dropbox folder, and they drop files as they usually do. And I will have a folder App/copyshop/ , each one puts files in their copyshop folder will appears in my dropbox as a sub-folder under my App/copyshop folder, e.g. App/copyshop/Tom , App/copyshop/Mary ...etc.
For non-dropboxers they can take advantage of uploading to my website, then save it to my dropbox folder.
Is this possible with Dropbox API? From the official statement:
The API provides methods to read and write from Dropbox securely, so your users can bring all their important files with them to your app. Any changes they make will be saved back to all their computers, tablets and mobile phones.
It looks like not a recommendation way to do it.
Thank you! Every reply is appreciate.
if you make a site to upload files there is no need for dropbox, just let them upload to a map that is available in the shop.
To make it safe with dropbox would be a lot of work, i suppose customers don't want their files exposed to others, only suitable for regular customers, for occasional customers the best method i can think of is let them make a public link of a dropbox file and send it to you.
Another drawback of dropbox is that the size of shared files is added to both the the sharer and the shared so you could get in trouble with the limits.
You could also make a script that monitors a public dropboxfolder and immediately on arrival moves the files to a safe location not accessible from others.
I suppose FTP would be better manageable, you could give big customers their own map and password and occasional users a just-write, don't read the upload of others security.
Answer from the dropboxer,
Yes, this would be possible. There are a number of ways you might do this, and the method you choose will be up to you, so I'll just touch on a few.
Without even using the API, you could have your customers enable and use this feature to send you a read-only link to any file or folder in their Dropbox:
https://www.dropbox.com/help/167
This isn't a shared folder exactly, but it sounds like it should be sufficient.
You could use the API to build an app that would essentially do 1, but help them along with it. Essentially, you would have them authorize your app, and then let them select a file or folder, on which you would call /files (GET) (or /shares if that is more convenient for whatever reason) to download or share the files.
Hope this helps!
Greg
I'm working on a middle-sized project that contains several class libraries, database model and an ASP .NET MVC website project. However, even though there are less than 15 projects in the solution, I often find myself collapsing and expanding endless folders to find a certain class or view.
While looking for class is mostly solved by Resharper type navigation feature, I often want to switch to a certain view in MVC project. I don't remember the file name and it wouldn't solve the problem either because there are many views with same file name (e.g. Message\ViewSingle.cshtml, Product\ViewSingle.cshtml).
What I'd rather want is an ability to “favorite” certain files, projects or folders so they are displayed on a separate Solution Explorer-like window for quick access.
Is there such an extension available (for free)?
Update
#samy pointed out that Sergey Vlasov's Favorite Documents extension allows for quick access via the menubar, I usually tend to hide it and would prefer a dockable window solution so I'm still looking. I wrote Sergey to find out if he plans to work on this functionality.
Update (Aug 4th)
I just received a letter from Sergey in which he points me to Favorite Documents 1.1 got a dedicated window. Therefore I accept samy's answer.
You're in luck, this Favorite Documents extension is just out. I found it via the Morning Brew.
Favorite Documents by Sergey Vlasov
The free Favorite Documents extension lets you create links to
frequently used code files and then quickly open them as a group or
individually from the Favorites menu in Visual Studio 2010
Update
After being contacted about this thread, Sergey rolled out version 1.1 with several improvements and a dedicated window (as requested in question).
You can use Libraries on Windows Vista or Seven, and organize folders as you wish. Maybe is not complete solution for your problem, but just to mention that :)