0
votes
16
views
How to export database mongodb
posted at Aug. 15, 2019, 2:21 p.m. - 6 days, 4 hours ago

To export your mongodb, you can using mongoexport command, but previously you should install the mongodb-clients: sudo apt install mongodb-clients mongoexport is a command-line tool that produces a JSON or …

mongodb bash database
0
votes
108
views
move multiple files using bash
posted at March 16, 2019, 8:37 a.m. - 5 months, 1 week ago

# This method if the files has no extentions. $ for file in *; do mv "$file" "$file.png"; done # This method if the files has extentions before. $ for …

bash linux
0
votes
210
views
Convert all mp4 files into mp3 files
posted at July 24, 2018, 5:37 a.m. - 1 year ago

One method is a bash *for loop*. Easy convert to .mp3 files: mkdir outputs/ for f in *.mp4; do ffmpeg -i "$f" "outputs/${f%.mp4}.mp3"; done For converting only .mp4 files: mkdir …