SHARE
TWEET

Untitled

a guest Apr 24th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #! /bin/bash
  3.  
  4. if [ $# -eq 1 ];then
  5.         if [ -f $1 ];then
  6.         echo Jest plik $1, szukam linkow twardych i  proponuje usuniecie
  7.                 find ~ -inum `ls -i $1|cut -d " " -f1` #-ok rm '{}' \;
  8.  
  9.         else
  10.                 echo Nie ma pliku $1
  11.         fi
  12. else
  13.  echo Nie przekazano parametru, przy uruchomieniu podaj parametr
  14. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top