mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Use find instead of ls to delete code files and directories.
This commit is contained in:
parent
767a10fbb1
commit
d22faf3758
@ -39,7 +39,7 @@ To upgrade ownCloud, follow those steps:
|
||||
#. Delete everything from your ownCloud installation directory, except data and
|
||||
config. Assuming that it's your working directory, you could execute this command::
|
||||
|
||||
ls | grep -v 'data\|config' | xargs rm -r
|
||||
find . -mindepth 1 -maxdepth 1 ! -path data ! -path config -exec rm -rf {} \;
|
||||
|
||||
#. Unpack the release tarball in the ownCloud directory (or copy the
|
||||
files thereto). Assuming that your installation directory is called 'owncloud' and that it's inside your working
|
||||
|
||||
Loading…
Reference in New Issue
Block a user