question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: Move a file to a different location

See original GitHub issue

Move a file to another location

command: spo file move -u|--webUrl <webUrl> -s|--sourceUrl <sourceUrl> -t|--targetUrl <targetUrl> --deleteIfAlreadyExists

  • webUrl: The URL of the site where the file is located
  • sourceUrl: Site-relative URL of the file to move
  • targetUrl: Server-relative URL where to move the file
  • deleteIfAlreadyExists: If a file already exists at the targetUrl, it will be moved to the recycle bin. If omitted, the move operation will be canceled if the file already exists at the targetUrl location

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
waldekmastykarzcommented, Nov 15, 2018

No deadlines! You’re ready when you’re ready 😄

2reactions
VelinGeorgievcommented, Nov 14, 2018

Ideally, that should be it. You can have a look at my blog notes if there is anything more to be done https://blog.velingeorgiev.com/createcopyjobs-api-copy-move-SharePoint-files-folders

I would suggest to have --ignoreVersionHistory param in the command so let the admin decide if they want to move the history. Defaults to true

Read more comments on GitHub >

github_iconTop Results From Across the Web

Moving file using cmd? [closed] - Stack Overflow
To move a file, you use the move command. move "%USERPROFILE%\Downloads\Test.exe" "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start ...
Read more >
MS-DOS and Windows Command Line Move Command
The move command allows users to transfer files or directories from one directory to another, or from one drive to another.
Read more >
move cmd command - GeeksforGeeks
The move is an internal command found in the Windows Command Interpreter (cmd) that is used to move files and folders/directories.
Read more >
Classic SysAdmin: How to Move Files Using Linux Commands ...
From the pop-up menu (Figure 1) select the “Move To” option. When the Select Destination window opens, navigate to the new location for...
Read more >
Move files in the Linux terminal | Opensource.com
Use the mv command to move a file from one location to another. ... To move a file on a computer with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found