ARJ Password Behavior and File Renaming
You’ve discovered an important feature of ARJ! Let me explain what’s happening:
Using -g? Option
When you use -g? instead of just -g, ARJ will prompt you to enter a password interactively:
arj a -r -jm -g? archive_name.arj /sdcard/music/
This is more secure than including the password in the command line because:
File Renaming and Password Protection
Yes, the password protection will still work if you rename the ARJ file.
The password is embedded in the encryption of the file contents themselves, not tied to the filename. When you try to extract or view the contents of the renamed ARJ file, ARJ will still prompt for the same password.
Example:
Important Notes
arj t renamed_file.arj
The password protection is tied to the file’s contents, not its name, so renaming won’t affect the encryption.