Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

mv command doesn't work with multiple files
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: mv command doesn't work with multiple files
  • SDP: 7.1.0
  • Target: Any supported target
________________________________________________________________________

Issue
________________________________________________________________________

The mv command on a QNX target cannot move multiple files across devices in a single command of the form: mv file.txt file2.txt destination/

________________________________________________________________________

Recommendation
________________________________________________________________________

This is a known issue with the QNX mv binary.

The current recommended workaround is to use the mv command that is part of the toybox utility, since the native mv (and other native commands) will be replaced by toybox utilities in a future release.


View the attached text file to see the verbose output of the erroneous mv command, and its working counterpart using toybox.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 Attachment Name Size Last Modified
 mv.txt 556 bytes 8/15/2024 2:02 PM





Please contact us with your questions or concerns.