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: remove file

See original GitHub issue

Remove the specified file

  • command: spo file remove -w|--webUrl <webUrl> -i|--id [id] -u|--url [url] --recycle --confirm
  • webUrl: The URL of the site where the file is located
  • id: id of the file to remove
  • url: server- or site-relative URL of the file to remove
  • recycle: move the file to the recycle bin instead of permanently deleting it
  • confirm: don’t prompt before removing the file
  • specify either the ID or the URL of the file to check in but not both
  • requires connection to a SharePoint site

For more information see the Remove-PnPFile cmdlet

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
RARomanocommented, Mar 28, 2018

Just sent a PR for this command.

0reactions
waldekmastykarzcommented, Mar 28, 2018

Excellent!

Read more comments on GitHub >

github_iconTop Results From Across the Web

git rm - Removing files in Git | Learn Version Control with Git
The "rm" command helps you to remove files from a Git repository. It allows you to not only delete a file from the...
Read more >
macros - (parser related) removing \newcommand and ...
I am trying to remove all \newcommand s, \renewcommand s, \newenvironment s and \newenvironment s in Latex files without any structural and ...
Read more >
Remove-Item (Microsoft.PowerShell.Management)
This command deletes a file that is both hidden and read-only. ... It uses the Path parameter to specify the file. It uses...
Read more >
Bash Commands to Manage Directories and Files - Earth Lab
delete files ( rm ) and directories ( rm -r ); copy files ( cp ) and directories ( cp -r ) to...
Read more >
Linux / UNIX delete a file using rm command - nixCraft
To remove or delete a file or directory in Linux, FreeBSD, Solaris, macOS, or Unix-like operating systems, use the rm command or unlink ......
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