I am not able to copy some files from one drive to another in windows server. As files are currently in use by some process.
I tried robocopy as well no sucess. Only thing i can find on internet is Shadow copy but its being used as backup.Not sure how to use shadow copy to transfer files
Related
So, I stumbled across a little problem, I can't seem to figure out.
I have a NAS where I dump data on and a script to download files I need back to my PC.
While doing so, it creates a folder for the file. After that, I run a different script that encodes the video files to save some space.
However, for some reason, the files and folders keep getting a 'read-only' lock that prevents the source file to be deleted after compression.
So I have to get into each individual folder and remove the read-only permission.
Is there some way to disable the read-only lock?
The Owner if the Root folder is my personal account, with full access.
Changing it to SYSTEM or Admin with full access doesn't change anything.
I want to copy the xcode project I saved in my pc to my Mac but I can't open it.
All the files in that project was added "._" in the their name.
How can I fix this? I don't have this project on my Mac anymore, only on pc.
Those ._-files contain the extra file attributes that might not be available on other file systems. Typically you get them when you copy a file from your Mac to a file system that does not support extended attributes (like an USB flash drive with FAT). Therefore I expect that those ._ files alreday exist on your PC.
You should be able to simply delete them without any inconvenience; alternatively, you can use the tool dot_clean to merge them back.
I have a web folder on a Mac (running MAMP Pro) and have files been added within it on the fly, whose URL is as follows .
http://abc.com/folder/
I have another Windows machine that should constantly watch this folder and download any new file that gets dumped to this web folder to c:\macfolder\ (The files are always tsv's).
I know I can use wget to acquire files and run whatever program that would do this as a scheduler in windows to watch constantly, but whats the best way to watch this folder for the new files.
Thanks
P.S I do not know what are the best tags for this question. Help me out with that too.. :P
Since the directory already is mounted on Windows, your question appears to be a duplicate of this (and related) - assuming you're OK using C# to build such a tool:
Monitoring a directory for new file creation without FileSystemWatcher
If not so keen on the C# tool, there are command line solutions like this one here:
batch file to monitor additions to download folder
I backed up my internal hard drive (C:) using SyncBack onto an external (USB) hard drive with maximum compression. I then performed a clean install of Windows Vista onto the computer.
I forgot to copy the SyncBack logs before the clean install. And now when ever I try to restore a directory, the RAR/ZIP files are copied to the system hard drive instead of extracting their contents to the hard drive. Also, SyncBack is not traversing the folders during the Restore process.
How can I tell SyncBack to expand the compressed files?
I am running the freeware version of SyncBack. I have to create new log files (unless SyncBack put them somewhere on the external drive).
My alternative is to write a program that traverses the folders on the external drive and extracts files from the RAR/ZIP files.
I am using Windows Vista, Service Pack 2, and the data size prior to backup was about 200 GB. (The backup process took over 72 hours due to "hiccups").
re-create your profile with the source as your C: drive, and the destination is the folder where your Zip files are. Make sure the profile is set to use compression (with each file compressed to its own file). Then simply run the profile as a Restore. I'd recommend running a Simulated Restore first to see what will happen without any files being replaced.
The answer I chose is to write a Java program that traverses directories on the backup drive and recreates them on the original drive. Any non-directory files are unzipped to the source drive.
Java has utilities for unzipping files.
In my application, i have one exe file that will do some conversion on my videofiles in a directory, and also i have used cute ftp to transfer the files present in the directory to another server.
CUTE FTP is configured to be run on every mins.
When 25% of job is over for a video file, CUTEFTP is transferred that file to other server.
What are the ways to fix this problem.
Process the file in a different directory and then move it to a place where CUTE FTP will pick it up after the conversion is finished.
[EDIT] Don't use copy, use move. Both directories must be on the same harddisk. When using the Windows Explorer, use "Cut" or just drag the file with the mouse. Make sure there is no little "[+]" when you drop it.