How to choose a folder location for xip temp - file

I have a xip file called Xcode_12.3.xip, and I want to un-xip it into a folder, but I do not have enough space, so I want to change the temp location of xip into a directory on to a folder on my flash drive, but it is always taking up the space on Macintosh HD. How do I change the temp location of xip?

Hi you do not have to.
If you unzip it from an external drive then it will be located in
TemporaryItems
The issue is that it will change location for where the folder called TemporaryItems is placed.
Suggestion for you is to use Disk Drill and do a harddisk scan for files of size larger than 10GB just after expanding the file. Then you can pull it from the temp folder directly into the applications. Archive utility will then fail but you will have succeeded installing XCode in an earlier version.

Related

7zip not sending file to archive location

I'm having the issue when trying to set my archive file to a different location. I have 3 drives C:, D:, E:. When I try to compress my folders and content from, (let's say D:) and I want them to go to a specifically to a folder to E: I will go under "Compress and Email" then set my archive to E:\....
For what ever reason, it will compress the items to C:\... then transfer it to E:\...
The problem is the files I'm trying to compress are far to large for my C: and why waste time compressing it to one drive just to transfer it to a different drive? All of drives are internal drives.

Drive File Stream altering my file names to add (1) at the end of their names

I am writing a program using WinForms in C# which monitors my drive file stream files, and copies the files to a local directory, where the files can then be run locally off of the computer.
My issue I am having is that when I alter or replace the files in the drive file stream either through the desktop app or the browser, it will rename some files to add an additional (1) at the end of the name. This then messes with the files when I need to run them from the local directory on my computer, as it cannot locate these specific files anymore.
Does anyone have a solution for this? Thanks.

.bat file to open a specific folder and copy files from a usb drive

I am having difficulties with creating a simple batch file.
What I would like is a batch file that will open up a specific directory and copy 2 files from the same directory that the batch file is in and paste them in the directory that was just opened.
So, in this instance, I have a USB flash drive. I have two IE shortcuts that I would like copied and placed in a public desktop.
The .bat file and the 2 files will all be on the root of the flash drive.
So, my understanding is that it should look like this (EWQ is the IE shortcut and keyfinder is just a test file because i wasn't sure on the extensions... i could not figure out what the IE shortcut extension would be as I don't think it has one):
%SystemRoot%\explorer.exe C:\Users\Public\Desktop<br>
copy EWQ C:\Users\Public\Desktop<br>
copy keyfinder.cfg C:\Users\Public\Desktop
I get my public desktop folder to open but nothing copies. I have
tried various prefixes, like "%~dp0\EWQ" (with an without the quotes)
but to no avail.
These will be loaded from a flash drive and I have about 500 to do so I'd like this as quick and possible. Basically, pop in the flash drive, double click the .bat file and yank it out. In theory, it 'should' be the same drive letter every time, but that isn't guaranteed.
Thank you for any help!!!
This is a batch file, let's call it testing.cmd.
#Copy "%~d0\EWQ.url" "%PUBLIC%\Desktop"
#Copy "%~d0\keyfinder.cfg" "%PUBLIC%\Desktop"
Place this file somewhere on your flash drive and double click it, ensuring that both EWQ.url and keyfinder.cfg are in the root of that drive. If you do not have access to the destination you could try by right clicking testing.cmd and choosing Run as administrator.

Temp directory for unrar

and thanks in advance for all answer.
I'm running slitaz on a very small and just tailored patition, using unrar as root to decompress a file on a mounted external HD maybe I didn't specify the destination path so I failed to unrar the file but also the partition containing the filesystem get 100% full now and I wasn't able to find were unrar put its temp files so I can't delete them manually to make my Linux works correctly again.
Tanks to all.

How do I install a redis server on the D drive?

I'm following the instructions at this page here: https://github.com/ServiceStack/redis-windows
I moved the files to a folder on my D Drive but the install won't go through and I get an unknown error. Is it not possible to install the redis server on a drive other than the C drive? If so then how would I go about doing this?
By default Redis places its heap memory mapped file in the local application folder (e.g.
"%USERPROFILE%\AppData\Local"). You can overwrite this location by settings the heapdir in redis.windows.conf, located in the same directory as redis-server.exe. Don't forget to create the folder yourself, Redis won't do it for you.
Now if you start redis server supplying the conf file as the first parameter, this new dir will be used.
You might also need to set the maxheap size (I am using 2GB).

Resources