Working on archiving a boatload of project folders (wasn't getting done for a while before I stumbled in). Active and inactive projects are in the same directory, and it's way past time to put the inactive projects in a retirement ho-drive...archival drive.
robocopy \\vm\projects\##-#### \\vm\archive\##-#### /e /sec /xo /xa:hs /r:1 /w:1 /v /fp /tee /log+:dir\logDATE /blahblahblah
TL;AGR - How am I going to replace the ##-####'s with a list I've generated (without typing each of the 800-ish names out)?
This is what the previous admin left, and it's fine for a monthly project archive (finishing maybe 30 projects a month and manually entering their names). I'm now reporting 1100 projects in this directory, 800 of which don't appear on my active project list.
It's important to note that these projects are not named logically, there's no "active" tag (outside of our management software), and that their appearance in any sort is random.
I've exported an .xls and cleaned it up, leaving only a list of inactive projects. Now I'm stuck and I'd rather not waste too much time with manual entry, although I'm game if there isn't an easier solution...
Thanks!
-Ian
Figured this out shortly after posting:
With the project numbers in a single column, I wrote a concatenate command around the project number, pulled the first two characters to name a folder in which each prefix got sorted, then ctrl+dragged the formula down the list. A simple copy/paste into a notepad document, save as batch, and run sorted the whole mess out. Thanks for the suggestions!
-Ian
Related
1st, I want to cover what this question is not about. There are 100's of articles that talk about how to search for folders with dots within their names. This is not the question. This is about searching for files within a folder that has dots in its name.
Say I have a folder
c:\public\dev\process.ui.help\
I have another folder
c:\public\processuihelp\
I have exact copies of the same files in each folder
help.csproj
help.cs
help.cs has a line in it like
//find this - SearchForMe
if in explorer and I search "SearchForMe", then explorer only returns help.cs from the 2nd folder but not the first. It may be treating the dotted folder names as extensions.
Edit: in the index options, any folders with extensions are automatically being de-selected. If I reselect them and save, they are de-selected again.
Is there any work-around or alternative search?
Why? : In this large development project (10's of projects, 1000's of folders), I am using dotted folder names to organise namespaces without creating a deep hierarchy of folders. Windows allows dotted folder names.
I haven't searched with built-in windows searches for a long time.
I just replicated your situation and tried searching with "Search My Files" and with "Everything", two tools I use frequently and both found both files immediately. Maybe give either or both of them a try and see if they do what you are looking for.
Edit: Everything is by voidtools, search my files by nirsoft, both are freeware.
I recently started making music using GarageBand's MIDI software. I've made it up to a certain point, where losing all my progress would be disastrous.
Here's the issue I have:
When I go to File > Save/Save As or just cmd+S or cmd+shift+S, or Share > Export Song to Disk, instead of functioning and saving the file (I checked in Finder; last time I exited the app without saving due to this issue, the untitled garageband file disappeared) properly onto the app, it would either do nothing or give me the rainbow wheel of death for 10-20 seconds and then proceed to not function.
I've searched online for answers to this, and there were several (2) users I found that had the same problem. Their post either had no answer or the answer was unintuitive (such as always using a different, more complicated method to save, like messing around with the garageband files themselves everytime to save).
I'm looking for an answer to this issue that would result in slightly more convenient, one-time edits to the app / any software beneath that would fix this issue, if there are any. However, if the community has any alternate way to save the file right now, I would greatly appreciate it.
======
Also:
Since I'd assume most of the solutions would involve closing the app and then making edits, then reinstalling it, please tell me if I could just copy the notes (not the tracks) onto a text document and paste it into the new file after. I would prefer to save my music.
Try this . . .
First QUIT Garageband (yes you will lose unsaved work).
Find the Garageband folder where all the .BAND files are saved. Usually it is in Users -> Username -> Music -> Garageband.
Move older .band files into another folder (EG: "Garageband OLD")
Then start a new project (or open a project still in the Garageband folder).
Save and Save-As should now work.
It seems there is some sort of file limit for the Garageband folder. In my case the file limit is either 170 .band files or about 125GB.
I am currently using Garageband 10.3.5 on High Sierra.
I encountered this weird ass and funny error.
I built a file for data ETL. This one takes in various .csv files, combines them and export new .csv files using VBA. The file is originally named as "xxx Modelling ETL.xlsm". It could be opened normally till one day it hangs or crashes while trying to recalculating something (may be the underground query).
After hours of struggling, I opened the file as a copy (under a new name of Copy of ...). Strangely it ran smoothly, no crash or hang. Then I try rename it by remove the "Copy of" part, then the error occurs again.
I want to share this as there could be someone has the same problem, or someone who could shed some light on this black magic thing.
Some solutions:
Rename the file or move it to local drive instead of Onedrive makes thing works normally again.
Open Trust Center, disable Macro with notification, Trusted Locations, and Trusted Documents. Enable them for specific files when open, not for all.
I just restarted my laptop today because it was saying there was problem with one of the disks and it needed to restart to fix it, so I restarted it. But when it was booting it came across to a problem and was not able to boot and showed me some options. So under "refresh" it was saying it won't delete any files but it may delete apps, which was fine for me so I chose this and waited about 15-20mins to do the job.
Once it was done windows started normally and I got my old desktop with old names of my files. Everything was fine except I was not able to find the folder I have been working on for the last two months (which I did not backup stupidly, though I intended a few times but was lazy and I had no worry about losing the data). The folder was just at the middle of my desktop with the name "equation derivation". I can not freaking find it. All of my other folders are here but not THE ONE that is supposed to be. I am just freaking out here.... I had many matlab codes and PDF files inside this folder.
I tried to restore but there is no restore point because of freaking "refresh".
I tried to use a recovery program to show me some files, but it found almost nothing.
There is a "windows.old" file which has user accounts but in that one there are fiveusers: Administrator, guest, ibaha_000, Public, UpdatusUser. Last three folder's creation date is today and first two folders creation date is when I bought the laptop (2014-HP-Envy) . When I go inside ibaha_000 folder (or any others) there are some folders inside it and I try to go inside "Desktop" because the folder I am trying to find was on desktop, but there is nothing there at all. So "windows.old" did not restore any of my files....
When I search for any of the matlab file names or folder names or PDF file names on the search of PC, I get no result.
Please someone help me with this I really need someone's help to recover my files that I spent two months... (And I know I should have backed it up but there was no sign of anything like this I would have, stupid me...)
Thank you very much!
I was able to recover my files from the hard-disk with professional "active at" recovery program that ran about 8 hours to pull out data.
Refresh might delete your files because it might recognize some of your programs or text files as windows program files, as it happened in my case. It didn't delete all of my matlab files, it deleted the folder I have lots of .m files.
So before refreshing windows, BACKUP your data, that's the solution.
In the 2009.1 version of Perforce Visual Client for 32-bin Windows, the "Reconcile Offline Work" option does weird things. In the middle box where the "Local files not in depot" should be displayed, I never get anything. What I do see is that the first time I reconcile a folder, it looks like perforce is filling the box with the "local files not in depot" because a list flashes quickly before my eyes. Then all of a sudden, the list quickly disappears into thin air and I'm left with an empty list. Does anyone know how I can get this feature to show me the files that I have not yet added? It seems like the "Modified files" and "Depot files missing from workspace" features work fine.
Also, as a side note, "Reconcile Offline Work" seemed to work fine in the 2009 beta version.
I had exactly the same problem.
The solution for me was obscure but trivial.
I simply changed the root directory of my client workspace from "C:\depot" to "c:\depot".
Yes, that's right, all I did was to change the drive letter from uppercase to lowercase. And, yes, I verified that changing the drive letter back to uppercase breaks it again and that changing the drive letter back to lowercase again fixes it again. So, this is not just a coincidence.
This is almost certainly a bug in the Perforce reconcile feature.
If you look closely at the reconcile paths, they all appear with a lowercase drive letter, even if you specify an uppercase drive letter, so my guess is that the matching algorithm is simply doing a case-sensitive comparison on the file paths. This is appropriate for everything but the drive letter. Their file lister probably always sets the drive letter to lowercase, so an uppercase drive letter on your client workspace root will never match.
This certainly sometimes happens. I seems the problem is likely to occur if I change the workspace view somehow and/or upgrade P4V to new version. So the solution which worked for me in the past was to trash the problematic workspace and create a new one (sometimes have to choose a different name too).
Perhaps deleting the .p4qt and .p4scc in your user home directory can help too.
Incidently, I did have a conversation with Perforce support on the related subject some time ago, and as the problems like this are very difficult to reproduce, therefore there wasn't much that they could do.
I have found issues with long filenames in p4 reconcile
from the base direectory
p4 reconcile ./...
never returned.
but if I cd further up the tree
cd components
p4 reconcile ./...
worked.
I was able to reconcile the whole tree eventually by stepping up directories, depending on how much longer your paths are this might work for you.
I had an instance where p4v showed the visual indicator that files had changes, and doing a diff showed the changes appropriately, but resolve on any parent directory didn't show them.
Those files had been changed by downgrading a library using a unity package install, and their "last modified" date was older than the previously submitted files. On OSX running the touch command on all the files in relevant directories updated all their modified times and reconcile worked after that.