Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Retrieve file path changes into a CSV


  • Please log in to reply
2 replies to this topic

#1 AIsaacs

AIsaacs

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:09:44 AM

Posted 18 May 2022 - 05:02 PM

Hey everyone,

I'm looking to do a large scale change in file structure but need a way to track changes in file paths.
Ideally I'd need to be able to produce a machine readable list with the 'before' and 'after' file path names that can be used as input to a python script.

I've seen software that can monitor changes in file location but only gives the current file path.
Does anyone have any ideas/know any programmes/scripts that might be able to produce this?

Thanks!


Edited by Chris Cosgrove, 18 May 2022 - 05:40 PM.
Moved from Win 11 to Programming.


BC AdBot (Login to Remove)

 


#2 pseymour

pseymour

  •  Avatar image
  • Members
  • 292 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ohio, USA
  • Local time:03:44 PM

Posted 20 May 2022 - 08:51 AM

You could do this with Process Monitor (sysinternals.com).  

 

When you start ProcMon, press Ctrl-E so that it stops capturing events. On the right end of the toolbar, turn off Registry activity, network activity, and process and thread activity. Basically, you only want to monitor file system changes.

 

Click the filter button (looks like a funnel), and set a filter for Operation Is SetRenameInformationFile.

 

Click the trash can button to clear the list of events, and then Ctrl-E again to start capturing.

 

When you're done, stop capturing again. From the file menu, you can export the list of events to a few different file formats, including CSV.


-- Patrick


#3 AIsaacs

AIsaacs
  • Topic Starter

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:09:44 AM

Posted 02 June 2022 - 11:16 PM

You could do this with Process Monitor (sysinternals.com).  

 

When you start ProcMon, press Ctrl-E so that it stops capturing events. On the right end of the toolbar, turn off Registry activity, network activity, and process and thread activity. Basically, you only want to monitor file system changes.

 

Click the filter button (looks like a funnel), and set a filter for Operation Is SetRenameInformationFile.

 

Click the trash can button to clear the list of events, and then Ctrl-E again to start capturing.

 

When you're done, stop capturing again. From the file menu, you can export the list of events to a few different file formats, including CSV.

Thank you this worked perfectly!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users