Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Copy timestamps between a file or multiple files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Copy timestamps between a file or multiple files
Authored by: DaleMox on Jul 28, '09 01:42:09PM
There's a hanging "Remember" at the end of the second code block (inside the code block). Also your comment, robg, is in that second code block. Finally, there's a mistake in the first code block as there are two:

if [ ! -f "${SRC}" ]; then
  echo "Error: ${SRC} does not exist.";
  exit 1;
fi;

if [ ! -f "${SRC}" ]; then
  echo "Error: ${SRC} does not exist.";
  exit 1;
fi;
(should be ${DST} in one of the cases)

[ Reply to This | # ]