How to make a copy and delete command line.
Posted: 28 Dec 2016, 23:03
How would I do this?
Copy this ALPM_DB_VERSION. from /mnt/sdb1/var/lib/pacman/local/ALPM_DB_VERSION to /mnt/sdb2/build/001-core/var/lib/pacman/local.
And this?
Delete this when done ALPM_DB_VERSION from /mnt/sdb2/build/001-core/var/lib/pacman/local/ALPM_DB_VERSION.
And this?
Delete this when done /var/cache/pacman/pkg/*.pkg.tar.xz
I have never done this before I have use MC to do all of my copy delete and move.
I'm trying to building a script but not sure how to do it. So what would the command line look like?
Copy this ALPM_DB_VERSION. from /mnt/sdb1/var/lib/pacman/local/ALPM_DB_VERSION to /mnt/sdb2/build/001-core/var/lib/pacman/local.
And this?
Delete this when done ALPM_DB_VERSION from /mnt/sdb2/build/001-core/var/lib/pacman/local/ALPM_DB_VERSION.
And this?
Delete this when done /var/cache/pacman/pkg/*.pkg.tar.xz
I have never done this before I have use MC to do all of my copy delete and move.
I'm trying to building a script but not sure how to do it. So what would the command line look like?