Questions tagged [file-move]

Moving files in a filesystem.

Use this instead of tags like which are really vague.

132 questions
0
votes
1 answer

Moving files from one subdirectory to another

I tried moving files from one directory to another and didn't work. so I searched and found an answer that fits what I want. When I run it, modified to my directory, it gives What is want to do: ${filename,,*}: bad substitution! This is what I…
tsumaranaina
  • 185
  • 1
  • 11
0
votes
2 answers

WinSCP Move file after upload with C#

I am creating an SFTP upload program. It is working great, it connects to the remote SFTP server and uploads the files as intended. The issue I am having it I want the files once uploaded moved to a new directory on the local server. I have…
James Studer
  • 37
  • 1
  • 6
0
votes
1 answer

return binding.rename(pathModule._makeLong(oldPath), Error: EPERM, operation not permitted

I have the following script: var fs = require("fs"); fs.renameSync(__dirname + "\\file.txt", __dirname + "\\destination"); Simply trying to move the file file.txt into the folder destination with Node.js using the File System API. Here is exactly…
Leo
  • 10,407
  • 3
  • 45
  • 62
0
votes
1 answer

Move batch file on specific date

I'm new to batch. I want to move a file hello.bat to the startup folder, but only on a specific date. How do I insert "if then" statements (e.g. If "date" Then "execution")? Furthermore, how do I move a file? I've tried this using what I've…
allies4ever
  • 111
  • 2
0
votes
1 answer

move already uploaded file to new location in laravel4

how to move a already uploaded file to another location in laravel4. i'm saving the uploaded files in a temporary folder in my project folder with path 'public/images/temp/'. files are uploading to that temp folder successfully. but i'm doing a…
Zammuuz
  • 708
  • 4
  • 18
  • 43
0
votes
1 answer

How to show the number of files moved and moved file name in a dialog box

I have a move function which moves the files from one folder to another folder.. I am wondering how can i show the total numbers of files moved and moved filenames in a dialog box. or any idea..!!!! Here the problem is, Once i press Move all the…
0
votes
1 answer

How to Move file in the same storage by just changing the path? (Android)

My Question is how to move file not copy by just changing the path of file system level in android file.nenameTo(newpath); this method works only when I have path like this File f = new File(/storage/Folder1/Folder2/image.png); File newfile = new…
0
votes
1 answer

Q: Batch File to Move Files Based on Characters Before Delimiter in Name

I'm a bit of a novice when it comes to .BAT files. Please, I'm in need of a batch file that will create folders based on the names of files in the local folder, and then move those files into their corresponding folders. The folder names need to be…
ElKinesis
  • 43
  • 3
0
votes
1 answer

Applescript: Moving a file using only it's path

Thanks to help from people on Stack Overflow, I'm working on a huge program using Applescript, but I have gotten stuck at a part where I have made a new folder, and I am trying to move 2 illustrator files into it. Normally this wouldn't be a problem…
man-qa
  • 377
  • 6
  • 26
0
votes
3 answers

PHP rename() cannot always find source file (code 2) in Windows environment

My environment is: Windows, MsSQL and PHP 5.4. My scenario: I'm doing a small shell script that creates a full backup from my wanted database to a temp folder and then moves it to a new location. The backup goes fine and the file is created to my…
MacRedrum
  • 1
  • 1
0
votes
1 answer

Why is my image considered open?

private void button4_Click(object sender, EventArgs e) { string originalPathFile = @"C:\Users\user\Downloads\CaptchaCollection\Small\Sorting\"; string newPathFile = @"C:\Users\user\Downloads\CaptchaCollection\Small\Sorted\"; bool…
puretppc
  • 3,232
  • 8
  • 38
  • 65
0
votes
2 answers

Move image from public:// to folder inside module in drupal 7

i want to move a uploaded file locate in public:// to a folder inside mymodule. I try $dirname = dirname(__file__); $fullpath = strpos($dirname, '\\') === false ? $dirname . '/' . $file->filename : $dirname . '\\' . $file->filename; $go =…
Vinicius.Silva
  • 342
  • 5
  • 17
0
votes
3 answers

move video file from /mnt/sdcard to /mnt/extsd

I am trying to move file from /mnt/sdcard to /mnt/extsd Currently file is stored in /mnt/sdcard/DCIM/camera after shooting a video but now i want to move this file to /mnt/extsd I am using following code File fromFile=new File(…
Hemantwagh07
  • 1,516
  • 1
  • 15
  • 27
0
votes
1 answer

VBScript. Move a file and rename it with increment if exists

I'm trying to create a vbscript that moves files from one directory to another, that increments the filename if the file allready exists. I.e. if file.ext exists, new filename is file_01.ext. If file_01.ext exists, new filename is file_02.ext, and…
0
votes
1 answer

Moving down entire wordpress installment one folder

I've been developing a wordpress website on the same place where it's supposed to go live, just in a /beta folder to keep it from regular visitors. Now it's done, I need to put it live, by moving the entire wordpress installment I have in the /beta…
Carlo Ravelli
  • 87
  • 2
  • 10
1 2 3
8
9