Questions tagged [movefile]

53 questions
0
votes
0 answers

Move files/entire folder in Matlab for non static source folders and .wavs files

I have to move multiple files or the entire folder from a user-choosen source folder to a destination folder, which could be fixed. The point is that that those files are non .txt files but .wavs, since are samples, and movefile just accept text…
Corrado
  • 11
  • 3
0
votes
0 answers

Move or Rename Files and Directories with mv

I've tried using: mv filename destination path Unfortunately, I am faced with an error message: mv filename destination_path mv: cannot stat 'filename': No such file or directory How to I get this desired output? mv path_to_file/filename…
0
votes
0 answers

Moving a file from temp folder to a very long path in vb.net

I'm having some issues on moving a file, that has been written using another software's API, to a path that is very long. The destination path is created using Dim path As String = "\\?\C:\Basedir\Long-path-base" For Each folderName As String In…
Tobbe
  • 11
  • 3
0
votes
0 answers

moving files in subfolders to new directory in matlab

I have a source folder called "data". There are 29 subfolders in the source folder with each person's name on it. And, also there is two more subfolders. Under one of this subfolders corresponding to each name of the folder, there is a target file…
0
votes
2 answers

Windows Command Prompt, how to move folder?

I have a question regarding windows command prompt. I tried to create a cmd file containing simple commands for the use of creating a folder named after the current date , have it create some files and finaly move the folder to a diffrent location.…
JoeBanana
  • 3
  • 3
0
votes
0 answers

Need msgbox text in a cell

I want below message in a cell: Dim Msg As String Msg = "Files moved: " & MovedCount & "(" & NotMovedCount + MovedCount & ")" If NotMovedCount > 0 Then Msg = Msg & vbLf & "Files not moved:" & NotMovedCount & "(" _ & NotMovedCount +…
0
votes
1 answer

How to move files in a other folder with base on a df list

I'm download 20.000 files .png and put in order to specific folder name. Each folder has 1 or 2 .png files. link of example: https://drive.google.com/drive/folders/1di8b1L1i1lc2ZKTAWyrNiZNpxMmGcQAH?usp=share_link order_NEW<- data.frame(ACCESION=c('G…
0
votes
3 answers

python script that would move zip folders to new directory based on their names

I am trying to write a script in python which could allow me to move zip files to a new folder based on their names, but I am struggling with it as I cannot figure out how to make python read the zip files name and move it to relevant folders. Any…
Learner
  • 1
  • 2
0
votes
1 answer

Move generated files whilst incrementally renaming them (in ascending order)

Pictures are generated in a directory, each with the same name. I would like to move them to another directory and rename them in an ascending order using a batch file, e.g. bild1.png -> 1.png, next time bild1.png -> 2.png and so on. Currently the…
0
votes
1 answer

How to transfer a csv file from notebook folder to a datastore

I want to transfer a generated csv file test_df.csv from my Azure ML notebook folder which has a path /Users/Ankit19.Gupta/test_df.csv to a datastore which has a web path https://abc.blob.core.windows.net/azureml/LocalUpload/f3db18b6. I have written…
0
votes
0 answers

How to move(directory to directory) images or audios above Android Q without using ManageExternalStorage?

if (!file.delete()) { Uri fileuri = getImageContentUri(Pager2Activity.this, file); if (fileuri != null) { DeleteXI.getInstance().with(Pager2Activity.this).delete(launcher, fileuri, pager2Adapter); myFile =…
0
votes
1 answer

Move PDF File to Another File Folder Using VBA

I tried this code below (shout-out to source provider) and now I want to add a little extra code, however I can't get f.Move function to work. In other words, I want to move PDF files from one folder to another file folder. Any suggestions? Dim…
FabioAuto
  • 31
  • 2
0
votes
0 answers

WinAPI MoveFile used for renaming keeps Existing file

I am using MoveFile for WinAPI in my C code to rename a file. The file is renamed to the same parent directory in the same volume. But, intermittently I see MoveFile keeping the existing original file and creating the new renamed file as well.…
0
votes
1 answer

How to move a file in python without knowing the path of the file you want to move? (Half way done)

I am searching for a file and its path in python, I get the result printed with the full path and file I am searching for. How do I set the print result as a variable so I can copy and move it to another folder? import os def find_files(filename,…
IonutV
  • 31
  • 4
0
votes
1 answer

Script to Move Files in Alfresco

In Alfresco users can use rules to move files. How do I programmatically move a file from one folder to another? Do you have an example? I am using Alfresco 7.0 Share/Community version