@kyanny's blog

My thoughts, my life. Views/opinions are my own.

tarball からモジュールを何個かインストール→全部レポジトリに入れときたいけどどれだっけ?

という場合にこういうことをして楽をした。

ls -l --sort=t  | head -n 10 | grep tar.gz$ | awk '{print $9}' | xargs cp --target-directory /path/to/dir