Topics - questorfla [ switch to compact view ]

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 37next
76
This is part of a project that is gradually getting done that to the help for several nice DC Posters.  Due to problems that came up on during the project, I need to locate a method of recusively searching files for a specific property.  At first, I had thought the file length could be used and to that end came up with a simple one-liner which can scan for and make a list  of all zero length files.  Unfortunately, not all of them are zero length.  
The problem is (was) "Windows encryption" which had been used apparently at some point on many of the files which makes them impervious to overwriting by non encrypted versions of the same file whether it is newer or not.  
I have decided my only choice is to locate them all in advance, copy the encrypted versions to a new sub-folder which will then allow me to copy the unencrypted version into the vacated sub-folder.  This is important because the location of these files has to remain as it is but the encrypted ones have no keys (or if they do I doubt anyone would know where they are) which effectively makes them worthless.  I need to find them and move them out of the way to make room for copies of the same files and folders which are also on other disks in their unencrypted format.  
Some of these files showed zero length and I had hoped they would all be such.  Unfortunately this was not the case.
If it is of any use to someone here is my version for finding Zero length files and copying the names to a list.  I am not sure how to edit this to scan for windows encryption though.

Code: Text [Select]
  1. @echo off
  2.    for /r %%F in (*) do if %%~zF==0 echo “%%F” >> zerobytefiles.txt
This was written for use in a batch file and could be modified for direct entry by removing the extra %'s.
4WD  I expect you will knock this one out of the ballpark?

77
Living Room / Microsoft Surface Pro 3 8GB I7 256GB SSD
« on: May 20, 2015, 12:39 PM »
Has anyone used one of these for any length of time?  I am looking for honest opinions and not marketing glib. 

Already had to get them like it or not but wondered if I should expect any issues with overheating due to size and such.  I was kind of surprised to see that they come with tiny cooling fans (of some kind) in a true tablet form factor.  Don't know why MS didn't bother to make the keyboard (Type-cover) out of a Lithium Polymer so it could serve as an additional battery source.
As a side question, I need  to locate two fire-engine red "sleeves".  I searched Amazon and found quite a few but can't "road test" them all.  In this case, the users want light-weight more than "protection" from damage as the are "upper management" and live out of airports (more or less) spending more time in the air than on the ground.

The red color to match the Type-cover is probably just as important, it has to be a close match.  And needs to be more of a velvet pouch from what I can get out of the people they were purchased for.  Sad   :'(  This is the where the world of tech has gone..   Fashion sense matters most now  8)  :tellme:

Opinions of what to expect would be appreciated as I will be the one who has to keep them running with remote support if they choke-up 1000 miles from home.   I just hope someone here has had one for a while.

Mfr websites to this day still post intelligent things like "In case of system lock-up to first remove the battery ..." :huh:!!  I have seen this advice posted on almost every site from HP to Toshiba even though they know the battery in those ultra-books can't be accessed without  a can-opener!


78
Best Program or method to:
Copy all files from a location on drive D: to a location on drive E: with the following conditions:
If the file already exists on E:   AND   is newer   OR       larger   than the one on D:     Then the copy on E: is left in place left in place and copy on D: is deleted.
Otherwise the copy on D: is Moved to E: and overwrites without asking.
 
Sounds simple but I cannot find the right combination of switches to do the either or part
This should end up merging the two locations onto the E: drive location keeping the copies that are either newest or largest regardless of where they are.
The reason for this is that there are some newer copies of the same files that are from zero to 5 bytes or so in size created in error.  Need to keep the larger copy in that case even if it is older

79
This is a little difficult to explain and currently i get it done through the use of several different programs. 
One a number of old backup drives, i have multiple daily backups of entire directories of program files and folders along with the data used by them. 
What i need is a way to extract all of the files of certain types and of those files, remove all but one (the newest).  Everything else can be deleted leaving me with a folder full of nothing but a single copy of any specific file and it being the newest version.

the drives are all full (smallest is 500GB largest 1TB). 

The files to be kept are specific extensions like .doc  .docx  .pdf  etc.    At this point, all of them will be document types, though the use of audio files is in the works.   I have been doing this in steps using one extension at a time to find all .doc for example and move them  move them all out to another folder. 
The second step is removing the duplicates created when i do this as each file was backed up once each day sometimes for months making 60 copies of that file.  Because the backups were done on each directory at different times i have to deal with each drive as a whole and cannot just find the newest copy of a single directory.  Even if i could , i still need to be sure i only keep the last version of each file and this could end up being on a different drive.

In theory, for the reason they are kept, I do not need to keep the actual "path to the file"  as: C:\a\b\c\d\filename.  This same path including the filename exists once in every backup
But having that information could be of some use one day as it is possible that a given file could have been used in one project and then restarted in another.  The project names and other information is in the path.  But i was only asked to worry about the files themselves.
I have tried various duplicate removers with each offering some advantage but nothing i have found can do the whole thing in one step.
To make it even harder, each path would have probably 15 or more files in it and keeping the full path name attached to all the files would also be wasteful and cumbersome.
the ideal would be to end up with the latest versions of every file that exist in each path kept and all others discarded.

C:\a\b\c\d would end up with 1.doc, 2.pdf, 4.txt. 5.docx (example only most of the files are pdf's)  That would preserver the path to give the logic of why the file was there to start with.
As it is, that same path including all those files exists multiple times and in most cases the files don't even change but in some cases they do or i would sort the whole mess by "date of path", keep the newest version of the data directory and be done with it.
However, doing it that way would also end up omitting a lot of documents that were deleted during the term of the project and they want to keep all that were ever in each one even if it as deleted during the term of the project.

As I said, the path is something i think will one day be an item they will wish they had kept but all i was asked to do it keep all the documents, just one big pile of them.

Thanks for any ideas.  There are at least 20 more of these drives i have to reduce to the newest single copies of stored documents only. The rest all gets deleted and the drives reused.  I am probably approaching this with tunnel vision and there must be an easier way.

80
Living Room / New Virus or ??
« on: May 05, 2015, 05:46 PM »
I thought  I would post this to see if anyone has run across anything similar.  One of the people here started getting odd emails a few days ago that were of a type she would never expect.  The wording was pretty "graphic" and appeared to be requesting a reply.  All of our systems have up to date AVAST as well as Malwarebytes.  These emails had no attachments and my advice was to "delete with SHIFT+" for a Permanent removal.

This began 2 or 3 days ago.  Today, her system restarted itself and came up with a new "Theme" called Creepy Cobwebs with a Spider in the middle of the page,  Odd to say the least and not what she had by any means.   Worst of all though was that as soon as that happened a "Progression Bar" appeared on the screen saying the % of files deleted and it was steadily moving across the screen.  By the time she got it to me (only a few minutes) the bar was moving at a very fast pace and all of her desktop icons had already been deleted. I immediately pressed the power and rebooted.

The bar came back up pretty quick and continued to delete files (or so it said).  Whatever it is, it apparently did delete quite a lot.  It also deleted "Some"  but not ALL of her software.  I am not sure why some were spared and others were not.  AVAST still scans but says the system is clean.

Malwarebytes is complete Gone from the system now.  No folder or any trace it has ever been there.

I have seen many Viruses in my day, some worse than others.  But this was pretty absolute in its destruction as everything is gone.  Not encrypted and locked up but completely gone.  The system is almost down to "Bare Bones Start".  Several other programs which were installed and in use are also completely gone with no trace.  This happened with no warning and the display of the progress bar as files and folders are being deleted certainly enhanced the Fear Factor. 

If this sounds even a little familiar it would be nice to know where to start looking before it hits someone else here.  There are a few others who have gotten similar emails but who have not yet been affected to this extent.

I figured someone here may have seen or heard of something like it.  I was only able to  find references to a virus called "Goner" and "Goner-A" but some of this was years old.  Some was from news articles published today.  At this point, I do not even have a clue if this is the same or similar.

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 37next
Go to full version