This commit is contained in:
parent
7780eca7a9
commit
5341b761ad
15 changed files with 29 additions and 38 deletions
|
@ -1,15 +0,0 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "move-firefox-screenshots";
|
||||
|
||||
runtimeInputs = with pkgs; [ findutils ];
|
||||
|
||||
text = ''
|
||||
original_directory="''${HOME}/Downloads"
|
||||
new_directory="''${HOME}/Pictures/Screenshots"
|
||||
|
||||
find "''${original_directory}" -mindepth 1 -maxdepth 1 -type f -name "Screenshot *" \
|
||||
-exec mv {} "''${new_directory}" \;
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue