Search Results

Search: Posts Made By: dpawson
2,546
Posted By dpawson
See my earlier simplified script. It's where I...
See my earlier simplified script. It's where I want to cd to, then copy files into.
tgt=/b
2,546
Posted By dpawson
Stripped test. current directory = /a target=...
Stripped test.
current directory = /a
target= /b
mn=`date +%y%m`

I want to
cd to $tgt
cp /a/*.jpg to ./${mn}

I can't get my head round the shell script working directory vs current...
2,546
Posted By dpawson
An attempt to change directory, with another...
An attempt to change directory, with another script? Which failed,
And yes, using bash on fedora (though happy with zsh)
2,546
Posted By dpawson
Cd then mkdir from script
Importing images from a camera (or two).
I sort by date (1901 this month).

Currently (failing)

if [[ -d $pana ]]
then
echo "Found Panasonic G9X"
#echo "List files on camera"
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy