Windows 10: Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner

Discus and support Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner in Windows 10 Gaming to solve the problem; Can anyone please help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner.If it exists in destination folder... Discussion in 'Windows 10 Gaming' started by Rolex Stain, Feb 28, 2023.

  1. Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner


    Can anyone please help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner.If it exists in destination folder then1. Delete it from destination2. Copy the file from source to destinationIf it does not exist in destination folder then1. Copy the file from source to destFor each iteration, we

    :)
     
    Rolex Stain, Feb 28, 2023
    #1
  2. Solidjeuh Win User

    Merge .tar with CMD

    Hello all,

    My server backups are automatically send to Onedrive, but the Onedrive API splits the .tar files.
    So I need to merge the files, before I can open them on my PC.

    The backups have a different names each day, so it's a pain in the ass to always look for the file names, and then merge.

    Is there a CMD command that can do that automatically ?

    This is the command:
    copy /B/Y backup_1909051552.tar + backup_1909051552.tar1 D:\Onedrive\serverbackup.tar

    I would like CMD to auto find the name of the .tar files "backup_1909051552".
    Something like:
    copy /B/Y §.tar + §.tar1 D:\Onedrive\serverbackup.tar

    I hope you understand what I'm asking, and if this is possible?
     
    Solidjeuh, Feb 28, 2023
    #2
  3. Solidjeuh Win User
    Merge .tar with CMD

    Yes, but it was just a test.
    I found out how to do it. Just need to set the correct filename

    Code:
     
    Solidjeuh, Feb 28, 2023
    #3
  4. Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner

    Moving files and folders from source to destination just copy and not move the items

    Hi DaveM121

    Thanks for your reply, unfortunately, I tried also to move the items as you suggested, but the problem persists. I get the items copied to the destination folder, but they are not deleted from the source location. So there are two copies of each one of the items I wanted to move.

    Do you know why this is happening and why the items are not deleted from the source location?

    Thanks again
     
    Matt_23868, Feb 28, 2023
    #4
Thema:

Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner

Loading...
  1. Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner - Similar Threads - Help DOS cmds

  2. Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner

    in Windows 10 Software and Apps
    Help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner: Can anyone please help me to get the MS-DOS cmds to copy tar.gz files from source to destination in a loop manner.If it exists in destination folder then1. Delete it from destination2. Copy the file from source to destinationIf it does not exist in destination folder then1....
  3. Moving files and folders from source to destination just copy and not move the items

    in Windows 10 Network and Sharing
    Moving files and folders from source to destination just copy and not move the items: I am trying to move some folders and files from the source to the destination folder on the same drive.First, I tried dragging-n-dropping, but I found that while the folders and files were copied to the destination folder, they were still in the source folder. Next, I tried...
  4. Moving files and folders from source to destination just copy and not move the items

    in Windows 10 Gaming
    Moving files and folders from source to destination just copy and not move the items: I am trying to move some folders and files from the source to the destination folder on the same drive.First, I tried dragging-n-dropping, but I found that while the folders and files were copied to the destination folder, they were still in the source folder. Next, I tried...
  5. Moving files and folders from source to destination just copy and not move the items

    in Windows 10 Software and Apps
    Moving files and folders from source to destination just copy and not move the items: I am trying to move some folders and files from the source to the destination folder on the same drive.First, I tried dragging-n-dropping, but I found that while the folders and files were copied to the destination folder, they were still in the source folder. Next, I tried...
  6. .gz files

    in Windows 10 Software and Apps
    .gz files: Do I need to keep .gz files on windows 10?Taking up much space and date from 12/20 to 12/21. https://answers.microsoft.com/en-us/windows/forum/all/gz-files/6f757cd6-ee3b-42b6-b5f4-81287e43931a
  7. Copying files from source to destination using 'Date created' only

    in Windows 10 Ask Insider
    Copying files from source to destination using 'Date created' only: Hi there, I have an issue where I'm trying to copy a lifetime of photos from one hard drive to another. The destination drive has duplicate photos that are from the source (from a previous time I did a back-up). The issue is that at some point Dropbox had a sync problem and...
  8. .gz files

    in Windows 10 Network and Sharing
    .gz files: Hi all, so recently, i upgraded my windows 7 to windows 10, and i want to start a program that can be launch from the launcher. i launch the launcher, but nothing happened and the launcher came back. i contact the developers of the launcher to see why and they said that some...
  9. the source and destination file names are the same

    in Windows 10 BSOD Crashes and Debugging
    the source and destination file names are the same: I get this message when trying burn files to a DVD using DVD as active storage. I can only choose Skip or Cancel. I've done both. When I move the DVD to another computer it doesn't show the files have been burned onto the DVD....
  10. DOS CMDs - For and Forfiles to rename files

    in Windows 10 Support
    DOS CMDs - For and Forfiles to rename files: I have just bought a Surface 4 Pro with k'brd. I find that one old program will no longer run correctly, so need to make a Batch file to replace it. Windows 10 screen capture produces files all with the same name, appending a serial number. Capture.exe produces a .bmp...