Install
brew install p7zip |
Extract
7z x file.7z |
Compress
7z a file.7z mydirectory |
cloud engineer
Install
brew install p7zip |
brew install p7zip
Extract
7z x file.7z |
7z x file.7z
Compress
7z a file.7z mydirectory |
7z a file.7z mydirectory
If you have a file with @ sign at end, this is how to remove extended attributes on the Mac OS.
Example.
ls -l -rwxr-xr-x@ 4 username staff 128 Mar 24 10:51 sample.txt |
ls -l -rwxr-xr-x@ 4 username staff 128 Mar 24 10:51 sample.txt
Remove extended attributes.
xattr -c sample.txt |
xattr -c sample.txt
Result
ls -l -rwxr-xr-x 4 username staff 128 Mar 24 10:51 sample.txt |
ls -l -rwxr-xr-x 4 username staff 128 Mar 24 10:51 sample.txt
Use Saml2Aws CLI as an alternative to SAML to AWS STS Key Conversion.
Install on Mac.
brew install saml2aws saml2aws --version |
brew install saml2aws saml2aws --version
Configure. Provide information.
saml2aws configure |
saml2aws configure
It will create a ~/.saml2aws config file. Set session to 8 hours.
aws_session_duration = 28800 |
aws_session_duration = 28800
Login.
saml2aws login |
saml2aws login
After authentication and/or MFA, your ~/.aws/credentials will be updated.