In ROS1, one can use 'rosbag info -y -k size bagName' to get the bag size information. How can I do it in ROS2 with Shell Script? Thank you in advance!
"ros2 bag info -h" does not have -y -k choices. I do not want to install ROS1 to my PC. I hope all the commands are limited in ROS2.
ros2 bags are just folder so you can use "du -hs folder_name/" to see the amount of space it uses