42
rated 0 times
[
42]
[
0]
/ answers: 1 / hits: 59426
/ 2 Years ago, sat, january 29, 2022, 11:44:21
I'm just trying to move a bunch of files (not symlinks) out of my /etc/apache/sites-enabled folder into the /etc/apache/sites-available folder with the following:
/etc/apache2/sites-enabled$ find . -maxdepth 1 -type f | xargs mv {} ../sites-available/
but I'm an ubuntu n00b and am getting this error:
mv: target `./real-file' is not a directory
where 'real-file' is a test file I've set up on my dev environment. I'm trying to tidy up someone else's mess on a production server ;-)
More From » command-line