Results 1 to 9 of 9
  1. #1
    Member dylskee's Avatar
    Join Date
    Mar 2005
    Location
    MA
    Posts
    2,894

    Macro to find differences?

    I have been noticing a problem at work lately and I was wondering if someone could help me out here? I'm a CNC Machinist and I use Cad/Cam software to create programs for the machines in a text format. We have a server that stores all of our programs and we have a **** ton of programs. Lately I've been noticing programs disappearing, I create manual backups myself about twice a week and when I look at the properties I can see that programs are being deleted. My question is, can I run a program to compare the server folder to my backup folder and have it tell me what's missing? Our programs are saved in a number format (01234) so I would just be looking for what is missing from my server folder?
    Last edited by thideras; 06-16-12 at 09:57 PM. Reason: Language
    i7 920 Classified X58 760
    eVGA GTX 680 4GB
    Gentle Typhoon 1850s
    12GB 6x2GB Corsair Dominator 1600
    500GB 840 EVO
    120GB OCZ Vertex II SSD - 1TB External HDD
    Silverstone OP1000 PSU
    2X X-Star DP2710 LED 2560x1440
    Windows 7 Ultimate 64bit

    Heatware 126-0-0

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    296
    Who doesn't love the power of Unix tools!?

    Find + Diff

    Oh... and Google... The first link usually works...

  3. #3
    Member dylskee's Avatar
    Join Date
    Mar 2005
    Location
    MA
    Posts
    2,894
    Quote Originally Posted by df0xyd View Post
    Who doesn't love the power of Unix tools!?

    Find + Diff

    Oh... and Google... The first link usually works...
    Thank you.....
    i7 920 Classified X58 760
    eVGA GTX 680 4GB
    Gentle Typhoon 1850s
    12GB 6x2GB Corsair Dominator 1600
    500GB 840 EVO
    120GB OCZ Vertex II SSD - 1TB External HDD
    Silverstone OP1000 PSU
    2X X-Star DP2710 LED 2560x1440
    Windows 7 Ultimate 64bit

    Heatware 126-0-0

  4. #4
    Member
    Join Date
    Jun 2007
    Posts
    296
    Quote Originally Posted by dylskee View Post
    Thank you.....
    Sure sure!
    (It may not be the correct emoticon for this situation.. but.. close enough!)

  5. #5
    Member dylskee's Avatar
    Join Date
    Mar 2005
    Location
    MA
    Posts
    2,894
    Quote Originally Posted by df0xyd View Post
    Sure sure!
    (It may not be the correct emoticon for this situation.. but.. close enough!)
    LOL!
    I apologize for my ignorance but can this be used in a windows environment?
    i7 920 Classified X58 760
    eVGA GTX 680 4GB
    Gentle Typhoon 1850s
    12GB 6x2GB Corsair Dominator 1600
    500GB 840 EVO
    120GB OCZ Vertex II SSD - 1TB External HDD
    Silverstone OP1000 PSU
    2X X-Star DP2710 LED 2560x1440
    Windows 7 Ultimate 64bit

    Heatware 126-0-0

  6. #6
    Destroyer of Empires and User Accounts, El Huginator
    Premium Member #3
    First Responders
    thideras's Avatar
    Join Date
    May 2006
    Location
    South Dakota
    Posts
    31,417
    Since those are Linux commands, no.

    I would work towards figuring out what/who is deleting them. Are these files on a share?
    Desktop: Gigabyte Z77X-UD5H | 3570k | 32 GB | GTX 770 Classified | 1 TB Samsung Evo & 2 TB HDD | Windows 3.1 | 4x 2560x1400 Monitors
    VM Server 1: Dell R710 | 2x L5630 | 96 GB RAM | 8x 300 GB Savvio | IBM M1015 | 34 TB Raw disk | XenServer
    VM Server 2: Dell R710 | 2x L5630 | 96 GB RAM |
    8x 300 GB Savvio | XenServer
    Router: Dell R410 | E5620 | 32 GB RAM | 3x 300 GB | pfsense
    "That's not overkill, or a lot. That's just thiderastic." -txus.palacios
    "Clouds are silent, cold, and wet. Servers are none of these things." -Bobnova

    Current projects: Rackmount Overkill (New) | Little Overkill (New)
    Articles: Rack Mounting 101 | Dell Perc 5/i Throughput Benchmarks
    My Website


    Want to talk directly to all the moderators at once? Call the Mod Hotline!

  7. #7
    Member dylskee's Avatar
    Join Date
    Mar 2005
    Location
    MA
    Posts
    2,894
    Quote Originally Posted by thideras View Post
    Since those are Linux commands, no.

    I would work towards figuring out what/who is deleting them. Are these files on a share?
    Yes they are and we have about 10 work stations that have access to this folder so it's pretty hard to pin point what's going on. I would just like to monitor the folders and see what files are being removed and from what folders. We have about 20 different cnc folders based on our machines and it varies from day to day on what's being deleted.
    i7 920 Classified X58 760
    eVGA GTX 680 4GB
    Gentle Typhoon 1850s
    12GB 6x2GB Corsair Dominator 1600
    500GB 840 EVO
    120GB OCZ Vertex II SSD - 1TB External HDD
    Silverstone OP1000 PSU
    2X X-Star DP2710 LED 2560x1440
    Windows 7 Ultimate 64bit

    Heatware 126-0-0

  8. #8
    Destroyer of Empires and User Accounts, El Huginator
    Premium Member #3
    First Responders
    thideras's Avatar
    Join Date
    May 2006
    Location
    South Dakota
    Posts
    31,417
    A quick and dirty solution would be to remove their ability to delete files. I haven't looked, but I'm fairly sure you could get logging software for the smb shares. Wait for a file to get deleted and you'd have which user (if you are using a domain) and the computer it was delete from.

    Using the tools mentioned earlier isn't going to solve your problem. It will just make it more complicated and place a bandaid over it.
    Desktop: Gigabyte Z77X-UD5H | 3570k | 32 GB | GTX 770 Classified | 1 TB Samsung Evo & 2 TB HDD | Windows 3.1 | 4x 2560x1400 Monitors
    VM Server 1: Dell R710 | 2x L5630 | 96 GB RAM | 8x 300 GB Savvio | IBM M1015 | 34 TB Raw disk | XenServer
    VM Server 2: Dell R710 | 2x L5630 | 96 GB RAM |
    8x 300 GB Savvio | XenServer
    Router: Dell R410 | E5620 | 32 GB RAM | 3x 300 GB | pfsense
    "That's not overkill, or a lot. That's just thiderastic." -txus.palacios
    "Clouds are silent, cold, and wet. Servers are none of these things." -Bobnova

    Current projects: Rackmount Overkill (New) | Little Overkill (New)
    Articles: Rack Mounting 101 | Dell Perc 5/i Throughput Benchmarks
    My Website


    Want to talk directly to all the moderators at once? Call the Mod Hotline!

  9. #9
    Member dropadrop's Avatar
    Join Date
    Mar 2001
    Location
    Finland
    Posts
    2,718
    You'd think that just setting logging on debug or verbose would show delete commands?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •