Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Macro to find differences?

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 06-16-12, 09:24 PM Thread Starter   #1
dylskee
Member

 
dylskee's Avatar 

Join Date: Mar 2005
Location: MA

 
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?

__________________
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
LG 32LD450 32" Dell 2209WA 22"
Windows 7 Ultimate 64bit

Heatware 126-0-0

Last edited by thideras; 06-16-12 at 09:57 PM. Reason: Language
dylskee is offline   QUOTE Thanks
Old 06-16-12, 09:53 PM   #2
df0xyd
Member



Join Date: Jun 2007

 
Who doesn't love the power of Unix tools!?

Find + Diff

Oh... and Google... The first link usually works...
df0xyd is offline   QUOTE Thanks
Old 06-16-12, 09:56 PM Thread Starter   #3
dylskee
Member

 
dylskee's Avatar 

Join Date: Mar 2005
Location: MA

 
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
LG 32LD450 32" Dell 2209WA 22"
Windows 7 Ultimate 64bit

Heatware 126-0-0
dylskee is offline   QUOTE Thanks
Old 06-16-12, 09:57 PM   #4
df0xyd
Member



Join Date: Jun 2007

 
Quote:
Originally Posted by dylskee View Post
Thank you.....
Sure sure!
(It may not be the correct emoticon for this situation.. but.. close enough!)
df0xyd is offline   QUOTE Thanks
Old 06-16-12, 10:14 PM Thread Starter   #5
dylskee
Member

 
dylskee's Avatar 

Join Date: Mar 2005
Location: MA

 
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
LG 32LD450 32" Dell 2209WA 22"
Windows 7 Ultimate 64bit

Heatware 126-0-0
dylskee is offline   QUOTE Thanks
Old 06-16-12, 10:16 PM   #6
thideras
Destroyer of Empires and User Accounts, El Huginator
Premium Member #3

 
thideras's Avatar 

Join Date: May 2006
Location: South Dakota

 
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 E5645 | 128 GB RAM | 8x 300 GB Savvio | IBM M1015 | 34 TB Raw disk | XenServer
VM Server 2: Dell R710 | 2x E5645 | 288 GB RAM |
8x 300 GB Savvio | XenServer
"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 project: Rackmount 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!
thideras is offline Author Profile Benching Profile Heatware Profile   QUOTE Thanks
Old 06-16-12, 10:22 PM Thread Starter   #7
dylskee
Member

 
dylskee's Avatar 

Join Date: Mar 2005
Location: MA

 
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
LG 32LD450 32" Dell 2209WA 22"
Windows 7 Ultimate 64bit

Heatware 126-0-0
dylskee is offline   QUOTE Thanks
Old 06-17-12, 06:39 AM   #8
thideras
Destroyer of Empires and User Accounts, El Huginator
Premium Member #3

 
thideras's Avatar 

Join Date: May 2006
Location: South Dakota

 
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 E5645 | 128 GB RAM | 8x 300 GB Savvio | IBM M1015 | 34 TB Raw disk | XenServer
VM Server 2: Dell R710 | 2x E5645 | 288 GB RAM |
8x 300 GB Savvio | XenServer
"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 project: Rackmount 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!
thideras is offline Author Profile Benching Profile Heatware Profile   QUOTE Thanks
Old 06-17-12, 04:59 PM   #9
dropadrop
Member

 
dropadrop's Avatar 

Join Date: Mar 2001
Location: Finland

10 Year Badge
 
You'd think that just setting logging on debug or verbose would show delete commands?
dropadrop is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 04:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?