7zip not sending file to archive location - archive

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.

Related

How to choose a folder location for xip temp

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.

Efficiently Download Newer files via FTP (Large amount of files with WinSCP commandline)

I am currently creating a small process that will download any new or updated file from an FTP(not SFTP) location to a local drive. I have written a small batch script along with WinSCP, but it takes FAR too long. There are around 200k files and 16k folders on the FTP. It takes just under an hour to check every file and folder, not including any time downloading any new/updated file. From what I understand, WinSCP compared file modification dates of every single file and folder, which is why it takes so long. I'm not sure where to go from here.
I am using WINDOWS 10.
Is there a better way to go about synchronizing these? Possibly check FTP drive if anything has been changed, if so, find the change and download it? Will post pics of batch if needed.
Thank you!

.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.

Copy files automatically from usb to specific folder with specific extensions

I have huge amount of flash drives and I need to backup my files on specific folder (for example C:\Backup).
There are two problems :
1. I need to backup files with .doc and .docx extension only.
2. When flash drive is inserted, I want that files would copy automatically.
(It's loop if I remember)
Is there any batch solution for this?
try this tutorial for autoplay USB
Then, i am thinking, instead of the autoplay.exe you can set it to run a batch file instead.
In that batch file use the xcopy command.

Clearing a file after reading with SSIS

Is there any built in way to read a file with SSIS and after reading it clearing the file of all content?
Use a File System Task in the Control Flow to either delete or move the file. If you want an empty file, then you can recreate the file with another File System Task after you have deleted it.
My team generally relies on moving files to archive folders after we process a file. The archive folder is compressed whereas the working folder is uncompressed. We setup a process with our Data Center IT to archive the files in the folders to tape on a regular schedule. This gives us full freedom to retrieve any raw files we have processed while getting them off the SAN without requiring department resources.
What we do is create a template file (that just has headers) and then copy it to a file of the name we want to use for processing.

Resources