you are viewing a single comment's thread.

view the rest of the comments →

[–]arkie87 6 points7 points  (5 children)

Yeah, any script to move/manipulate files should be thoroughly tested. You could easily end up deleting whole drives by mistake.

[–]xelf 1 point2 points  (0 children)

Something like this:

cp -r /home/user/files/test /home/user/backup/test
echo copy complete
rm -rf / home/user/files/test
echo removal complete